Condividi tramite


IUITextInput.GetPositionWithinRange Metodo

Definizione

Ottiene una posizione all'interno di un intervallo specificato.

[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

Parametri

range
UITextRange

Oggetto UITextRange che indica l'intervallo di testo di un documento.

direction
UITextLayoutDirection

Costante che indica la direzione per l'archiviazione.

Restituisce

Posizione all'interno di un intervallo specificato.

Attributi

Si applica a