UIKit.IUITextInput.GetPosition Method
Gets the character offset from an initial position.

Syntax

[Foundation.Export("positionFromPosition:inDirection:offset:")]
[Foundation.Preserve(Conditional=true)]
public UITextPosition GetPosition (UITextPosition fromPosition, UITextLayoutDirection inDirection, nint offset)

Parameters

fromPosition
Initial text position
inDirection
A constant indicating either backward or forward direction for storage.
offset
Character offset from the initial position.

Returns

The specified character offset.

Remarks

This can be either a positive or negative value.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0