NSTextLayoutFragment.GetTextLineFragment Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetTextLineFragment(INSTextLocation, Boolean)
[Foundation.Export("textLineFragmentForTextLocation:isUpstreamAffinity:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual AppKit.NSTextLineFragment? GetTextLineFragment(AppKit.INSTextLocation textLocation, bool isUpstreamAffinity);
[<Foundation.Export("textLineFragmentForTextLocation:isUpstreamAffinity:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetTextLineFragment : AppKit.INSTextLocation * bool -> AppKit.NSTextLineFragment
override this.GetTextLineFragment : AppKit.INSTextLocation * bool -> AppKit.NSTextLineFragment
Parameters
- textLocation
- INSTextLocation
- isUpstreamAffinity
- Boolean
Returns
- Attributes
Applies to
GetTextLineFragment(NFloat, Boolean)
[Foundation.Export("textLineFragmentForVerticalOffset:requiresExactMatch:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual AppKit.NSTextLineFragment? GetTextLineFragment(System.Runtime.InteropServices.NFloat verticalOffset, bool requiresExactMatch);
[<Foundation.Export("textLineFragmentForVerticalOffset:requiresExactMatch:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetTextLineFragment : System.Runtime.InteropServices.NFloat * bool -> AppKit.NSTextLineFragment
override this.GetTextLineFragment : System.Runtime.InteropServices.NFloat * bool -> AppKit.NSTextLineFragment
Parameters
- verticalOffset
- NFloat
- requiresExactMatch
- Boolean
Returns
- Attributes