次の方法で共有


ITextCaret.Height Property

Gets the height 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

'宣言
ReadOnly Property Height As Double
double Height { get; }
property double Height {
    double get ();
}
abstract Height : float
function get Height () : double

Property Value

Type: System.Double
The height of the caret.

Exceptions

Exception Condition
InvalidOperationException

The caret does not lie in the text formatted by the view.

.NET Framework Security

See Also

Reference

ITextCaret Interface

Microsoft.VisualStudio.Text.Editor Namespace