編輯

共用方式為


IUITextInput.GetCaretRectForPosition(UITextPosition) Method

Definition

A rectangle used for drawing a caret at a given insertion point.

[Foundation.Export("caretRectForPosition:")]
[Foundation.Preserve(Conditional=true)]
public CoreGraphics.CGRect GetCaretRectForPosition (UIKit.UITextPosition position);
abstract member GetCaretRectForPosition : UIKit.UITextPosition -> CoreGraphics.CGRect

Parameters

position
UITextPosition

A positioning object that indicates a specified location.

Returns

A rectangle defining an area for drawing a caret.

Attributes

Applies to