Edit

Share via


IUITextInput.GetSelectionRects(UITextRange) Method

Definition

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

[Foundation.Export("selectionRectsForRange:")]
[Foundation.Preserve(Conditional=true)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public UIKit.UITextSelectionRect[] GetSelectionRects (UIKit.UITextRange range);
abstract member 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