Partager via


UITextView.GetCharacterRange(UITextPosition, UITextLayoutDirection) Méthode

Définition

Retourne une plage qui représente la distance entre byExtendingPosition et autant que possible dans direction.

[Foundation.Export("characterRangeByExtendingPosition:inDirection:")]
public virtual UIKit.UITextRange GetCharacterRange (UIKit.UITextPosition byExtendingPosition, UIKit.UITextLayoutDirection direction);
abstract member GetCharacterRange : UIKit.UITextPosition * UIKit.UITextLayoutDirection -> UIKit.UITextRange
override this.GetCharacterRange : UIKit.UITextPosition * UIKit.UITextLayoutDirection -> UIKit.UITextRange

Paramètres

byExtendingPosition
UITextPosition

Emplacement dans du texte.

direction
UITextLayoutDirection

Direction de la disposition.

Retours

Implémente

Attributs

S’applique à