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
布局的方向。
返回
实现
- 属性