共用方式為


UITextField.GetFirstRectForRange(UITextRange) 方法

定義

會傳回矩形,如果範圍指定多行文字) ,則會在 (中 range 括住第一行文字。

[Foundation.Export("firstRectForRange:")]
public virtual CoreGraphics.CGRect GetFirstRectForRange (UIKit.UITextRange range);
abstract member GetFirstRectForRange : UIKit.UITextRange -> CoreGraphics.CGRect
override this.GetFirstRectForRange : UIKit.UITextRange -> CoreGraphics.CGRect

參數

range
UITextRange

控制項中的文字範圍。

傳回

實作

屬性

適用於