Share via


NSTextLayoutManager.GetTextLayoutFragment Method

Definition

Overloads

GetTextLayoutFragment(CGPoint)

[Foundation.Export("textLayoutFragmentForPosition:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual AppKit.NSTextLayoutFragment? GetTextLayoutFragment(CoreGraphics.CGPoint position);
[<Foundation.Export("textLayoutFragmentForPosition:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetTextLayoutFragment : CoreGraphics.CGPoint -> AppKit.NSTextLayoutFragment
override this.GetTextLayoutFragment : CoreGraphics.CGPoint -> AppKit.NSTextLayoutFragment

Parameters

position
CGPoint

Returns

Attributes

Applies to

GetTextLayoutFragment(INSTextLocation)

[Foundation.Export("textLayoutFragmentForLocation:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual AppKit.NSTextLayoutFragment? GetTextLayoutFragment(AppKit.INSTextLocation location);
[<Foundation.Export("textLayoutFragmentForLocation:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetTextLayoutFragment : AppKit.INSTextLocation -> AppKit.NSTextLayoutFragment
override this.GetTextLayoutFragment : AppKit.INSTextLocation -> AppKit.NSTextLayoutFragment

Parameters

location
INSTextLocation

Returns

Attributes

Applies to