UITextView.GetCharacterOffsetOfPosition(UITextPosition, UITextRange) Method
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.
Returns the number of characters in some text between position
and the start of the range
.
[Foundation.Export("characterOffsetOfPosition:withinRange:")]
public virtual nint GetCharacterOffsetOfPosition (UIKit.UITextPosition position, UIKit.UITextRange range);
abstract member GetCharacterOffsetOfPosition : UIKit.UITextPosition * UIKit.UITextRange -> nint
override this.GetCharacterOffsetOfPosition : UIKit.UITextPosition * UIKit.UITextRange -> nint
- position
- UITextPosition
A location in the text.
- range
- UITextRange
The range of text in a document.
System.System.IntPtr
System.nativeint
- Attributes