NSTextLayoutManager.GetOffsetFromLocation 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.
[Foundation.Export("offsetFromLocation:toLocation:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual IntPtr GetOffsetFromLocation(AppKit.INSTextLocation from, AppKit.INSTextLocation to);
[<Foundation.Export("offsetFromLocation:toLocation:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetOffsetFromLocation : AppKit.INSTextLocation * AppKit.INSTextLocation -> nativeint
override this.GetOffsetFromLocation : AppKit.INSTextLocation * AppKit.INSTextLocation -> nativeint
Parameters
- from
- INSTextLocation
Returns
IntPtr
nativeint
Implements
- Attributes