UITextView.GetCaretRectForPosition(UITextPosition) Method

Definition

This method will return a rectangle that can be used for drawing the insertion caret.

[Foundation.Export("caretRectForPosition:")]
public virtual CoreGraphics.CGRect GetCaretRectForPosition (UIKit.UITextPosition position);
abstract member GetCaretRectForPosition : UIKit.UITextPosition -> CoreGraphics.CGRect
override this.GetCaretRectForPosition : UIKit.UITextPosition -> CoreGraphics.CGRect

Parameters

position
UITextPosition

A location in the document to draw a rectangle at.

Returns

Implements

Attributes

Applies to