UITextView.GetCharacterOffsetOfPosition(UITextPosition, UITextRange) 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.
Calculates and returns the offset into range of the character that is in position in the document.
[Foundation.Export("characterOffsetOfPosition:withinRange:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual IntPtr GetCharacterOffsetOfPosition(UIKit.UITextPosition position, UIKit.UITextRange range);
[<Foundation.Export("characterOffsetOfPosition:withinRange:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetCharacterOffsetOfPosition : UIKit.UITextPosition * UIKit.UITextRange -> nativeint
override this.GetCharacterOffsetOfPosition : UIKit.UITextPosition * UIKit.UITextRange -> nativeint
Parameters
- position
- UITextPosition
- range
- UITextRange
Returns
IntPtr
nativeint
Implements
- Attributes