IUITextInput.GetCharacterRange(UITextPosition, UITextLayoutDirection) Method

Definition

Gets a character range within the limits of a defined direction.

[Foundation.Export("characterRangeByExtendingPosition:inDirection:")]
[Foundation.Preserve(Conditional=true)]
public UIKit.UITextRange GetCharacterRange (UIKit.UITextPosition byExtendingPosition, UIKit.UITextLayoutDirection direction);
abstract member GetCharacterRange : UIKit.UITextPosition * UIKit.UITextLayoutDirection -> UIKit.UITextRange

Parameters

byExtendingPosition
UITextPosition

A text positioning object identifying a location in a document.

direction
UITextLayoutDirection

Constant indicating layout direction.

Returns

Gets a range from a given text position to the ultimate extent in a defined direction.

Attributes

Applies to