Szerkesztés

Megosztás a következőn keresztül:


UITextView.GetOffsetFromPosition(UITextPosition, UITextPosition) Method

Definition

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

Applies to