Share via


UITextField.GetBaseWritingDirection Method

Definition

Gets the base writing direction for a text position.

[Foundation.Export("baseWritingDirectionForPosition:inDirection:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSWritingDirection GetBaseWritingDirection(UIKit.UITextPosition forPosition, UIKit.UITextStorageDirection direction);
[<Foundation.Export("baseWritingDirectionForPosition:inDirection:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetBaseWritingDirection : UIKit.UITextPosition * UIKit.UITextStorageDirection -> Foundation.NSWritingDirection
override this.GetBaseWritingDirection : UIKit.UITextPosition * UIKit.UITextStorageDirection -> Foundation.NSWritingDirection

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.

Implements

Attributes

Applies to