Share via


IUITextInput.GetFirstRectForRange(UITextRange) Method

Definition

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

[Foundation.Export("firstRectForRange:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual CoreGraphics.CGRect GetFirstRectForRange(UIKit.UITextRange range);
[<Foundation.Export("firstRectForRange:")>]
[<Foundation.RequiredMember>]
[<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.

Attributes

Applies to