UITextView.GetPositionWithinRange(UITextRange, UITextLayoutDirection) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回可見文字中可能的最遠位置。
[Foundation.Export("positionWithinRange:farthestInDirection:")]
public virtual UIKit.UITextPosition GetPositionWithinRange (UIKit.UITextRange range, UIKit.UITextLayoutDirection direction);
abstract member GetPositionWithinRange : UIKit.UITextRange * UIKit.UITextLayoutDirection -> UIKit.UITextPosition
override this.GetPositionWithinRange : UIKit.UITextRange * UIKit.UITextLayoutDirection -> UIKit.UITextPosition
參數
- range
- UITextRange
檔中的文字範圍。
- direction
- UITextLayoutDirection
版面配置的方向。
傳回
實作
- 屬性