Share via


IUITextInput.GetSelectionRects(UITextRange) Method

Definition

Gets an array of selection rects that corresponds to a text range.

[Foundation.Export("selectionRectsForRange:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.UITextSelectionRect[] GetSelectionRects(UIKit.UITextRange range);
[<Foundation.Export("selectionRectsForRange:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetSelectionRects : UIKit.UITextRange -> UIKit.UITextSelectionRect[]
override this.GetSelectionRects : UIKit.UITextRange -> UIKit.UITextSelectionRect[]

Parameters

range
UITextRange

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

Returns

An array of selection rects.

Attributes

Applies to