共用方式為


UITextField.GetSelectionRects(UITextRange) 方法

定義

的陣列,此陣列 UITextSelectionRect 會框起 range

[Foundation.Export("selectionRectsForRange:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UITextSelectionRect[] GetSelectionRects (UIKit.UITextRange range);
abstract member GetSelectionRects : UIKit.UITextRange -> UIKit.UITextSelectionRect[]
override this.GetSelectionRects : UIKit.UITextRange -> UIKit.UITextSelectionRect[]

參數

range
UITextRange

UITextRange需要選取矩形的 。

傳回

陣列 (中 range s 的 UITextSelectionRect 空白) 。

實作

屬性

適用於