NSTextLayoutManager.GetTextLayoutFragment 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
| Name | Description |
|---|---|
| GetTextLayoutFragment(CGPoint) | |
| GetTextLayoutFragment(INSTextLocation) |
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