UITextView.GetBaseWritingDirection Method

Definition

Determines the writing direction from a position within the text.

[Foundation.Export("baseWritingDirectionForPosition:inDirection:")]
public virtual UIKit.UITextWritingDirection GetBaseWritingDirection (UIKit.UITextPosition forPosition, UIKit.UITextStorageDirection direction);
abstract member GetBaseWritingDirection : UIKit.UITextPosition * UIKit.UITextStorageDirection -> UIKit.UITextWritingDirection
override this.GetBaseWritingDirection : UIKit.UITextPosition * UIKit.UITextStorageDirection -> UIKit.UITextWritingDirection

Parameters

forPosition
UITextPosition

The location in a document.

direction
UITextStorageDirection

The direction of storage.

Returns

The writing direction (i.e. left-to-right, or right-to-left)

Implements

Attributes

Applies to