Share via


UITextField.GetFirstRectForRange(UITextRange) Method

Definition

Gets the first rectangle enclosing a specified range of document text.

[Foundation.Export("firstRectForRange:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual CoreGraphics.CGRect GetFirstRectForRange(UIKit.UITextRange range);
[<Foundation.Export("firstRectForRange:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetFirstRectForRange : UIKit.UITextRange -> CoreGraphics.CGRect
override this.GetFirstRectForRange : UIKit.UITextRange -> CoreGraphics.CGRect

Parameters

range
UITextRange

A UITextRange object indicating the range of a document's text.

Returns

The first rectangle enclosing a specified range.

Implements

Attributes

Applies to