共用方式為


UITextView.GetPositionWithinRange(UITextRange, UITextLayoutDirection) 方法

定義

傳回可見文字中可能的最遠位置。

[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

版面配置的方向。

傳回

實作

屬性

適用於