Поделиться через


ITextView.ViewportHeight Property

Gets the height of the visible content window (including the margin) in logical pixels.

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

Syntax

'Декларация
ReadOnly Property ViewportHeight As Double
    Get
double ViewportHeight { get; }
property double ViewportHeight {
    double get ();
}
abstract ViewportHeight : float
function get ViewportHeight () : double

Property Value

Type: System.Double
The height of the viewport.

.NET Framework Security

See Also

Reference

ITextView Interface

Microsoft.VisualStudio.Text.Editor Namespace