IUITextInput.GetSelectionRects(UITextRange) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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