Partager via


ITextCaret.Width Property

Gets the width of the caret in the text rendering coordinate system.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'Declaration
ReadOnly Property Width As Double
double Width { get; }
property double Width {
    double get ();
}
abstract Width : float with get
function get Width () : double

Property Value

Type: Double
The width of the caret.

.NET Framework Security

See Also

Reference

ITextCaret Interface

Microsoft.VisualStudio.Text.Editor Namespace