Bewerken

Delen via


IUITextInput.GetPositionWithinRange Method

Definition

Gets a position within a specified range.

[Foundation.Export("positionWithinRange:farthestInDirection:")]
[Foundation.Preserve(Conditional=true)]
public UIKit.UITextPosition GetPositionWithinRange (UIKit.UITextRange range, UIKit.UITextLayoutDirection direction);
abstract member GetPositionWithinRange : UIKit.UITextRange * UIKit.UITextLayoutDirection -> UIKit.UITextPosition

Parameters

range
UITextRange

A UITextRange object indicating the range of a document's text.

direction
UITextLayoutDirection

A constant indicating direction for storage.

Returns

A position within a specified range.

Attributes

Applies to