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(INSTextLocation) | |
| GetTextLayoutFragment(CGPoint) |
GetTextLayoutFragment(INSTextLocation)
[Foundation.Export("textLayoutFragmentForLocation:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.NSTextLayoutFragment? GetTextLayoutFragment(UIKit.INSTextLocation location);
[<Foundation.Export("textLayoutFragmentForLocation:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetTextLayoutFragment : UIKit.INSTextLocation -> UIKit.NSTextLayoutFragment
override this.GetTextLayoutFragment : UIKit.INSTextLocation -> UIKit.NSTextLayoutFragment
Parameters
- location
- INSTextLocation
Returns
- Attributes
Applies to
GetTextLayoutFragment(CGPoint)
[Foundation.Export("textLayoutFragmentForPosition:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.NSTextLayoutFragment? GetTextLayoutFragment(CoreGraphics.CGPoint position);
[<Foundation.Export("textLayoutFragmentForPosition:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetTextLayoutFragment : CoreGraphics.CGPoint -> UIKit.NSTextLayoutFragment
override this.GetTextLayoutFragment : CoreGraphics.CGPoint -> UIKit.NSTextLayoutFragment
Parameters
- position
- CGPoint
Returns
- Attributes