Share via


NSTextLayoutFragment.GetTextLineFragment Method

Definition

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

Applies to