IUITextInput.GetBaseWritingDirection(UITextPosition, UITextStorageDirection) IUITextInput.GetBaseWritingDirection(UITextPosition, UITextStorageDirection) Method

Definition

Gets the base writing direction for a text position.

[Foundation.Export("baseWritingDirectionForPosition:inDirection:")]
[Foundation.Preserve(Conditional=true)]
public UIKit.UITextWritingDirection GetBaseWritingDirection (UIKit.UITextPosition forPosition, UIKit.UITextStorageDirection direction);
abstract member GetBaseWritingDirection : UIKit.UITextPosition * UIKit.UITextStorageDirection -> UIKit.UITextWritingDirection

Parameters

forPosition
UITextPosition UITextPosition

A positioning object that indicates a specified location.

direction
UITextStorageDirection UITextStorageDirection

Constant indicating layout direction.

Returns

A text-range object that represents the distance from position to the farthest extent in a given direction.

Applies to