UITextView.GetOffsetFromPosition(UITextPosition, UITextPosition) 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.
Returns the number of characters between two visible locations in a document.
[Foundation.Export("offsetFromPosition:toPosition:")]
public virtual nint GetOffsetFromPosition(UIKit.UITextPosition fromPosition, UIKit.UITextPosition toPosition);
abstract member GetOffsetFromPosition : UIKit.UITextPosition * UIKit.UITextPosition -> nint
override this.GetOffsetFromPosition : UIKit.UITextPosition * UIKit.UITextPosition -> nint
Parameters
- fromPosition
- UITextPosition
A ___location within the document.
- toPosition
- UITextPosition
A second ___location within document.
Returns
System.System.IntPtr
System.nativeint
Implements
- Attributes