Edytuj

Udostępnij za pośrednictwem


IUITextInput.GetBaseWritingDirection 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

A positioning object that indicates a specified location.

direction
UITextStorageDirection

Constant indicating layout direction.

Returns

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

Attributes

Applies to