Share via


UITextView.GetSelectionRects(UITextRange) Method

Definition

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

[Foundation.Export("selectionRectsForRange:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.UITextSelectionRect[] GetSelectionRects(UIKit.UITextRange range);
[<Foundation.Export("selectionRectsForRange:")>]
[<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.

Implements

Attributes

Applies to