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

布局的方向。

返回

实现

属性

适用于