IUITextInput.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.
Gets the number of visible characters between two defined text positions.
[Foundation.Export("offsetFromPosition:toPosition:")]
[Foundation.Preserve(Conditional=true)]
public nint GetOffsetFromPosition (UIKit.UITextPosition fromPosition, UIKit.UITextPosition toPosition);
abstract member GetOffsetFromPosition : UIKit.UITextPosition * UIKit.UITextPosition -> nint
Parameters
- fromPosition
- UITextPosition
Initial text position.
- toPosition
- UITextPosition
Ultimate text position.
Returns
System.System.IntPtr
System.nativeint
The number of visible characters between the two specified text positions.
- Attributes