Edit

Share via


UITextField.GetFirstRectForRange(UITextRange) Method

Definition

Returns a rectangle that will enclose the first line of text in the range (if the range specifies multiple lines of text).

[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

Parameters

range
UITextRange

A range of text in the control.

Returns

Implements

Attributes

Applies to