Gets the size of the caret, in pixels, at the current text input position.

Introduced: X10.


public System.Drawing.Size CaretSize { get; }
Public ReadOnly Property CaretSize() As System.Drawing.Size


This example explains an easy use of the TXTextControl.InputPosition.CaretSize Property. Here, the 'caretSize' is stored in a variable of the type 'System.Drawing.Size'.

System.Drawing.Size caretSize = new System.Drawing.Size();
caretSize = textControl1.InputPosition.CaretSize;
Dim caretSize As System.Drawing.Size = New System.Drawing.Size()
caretSize = TextControl1.InputPosition.CaretSize


Read only.