Partager via


ViewState.ViewportHeight Property

Gets the height of the viewport.

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

Syntax

'Déclaration
Public Property ViewportHeight As Double
public double ViewportHeight { get; private set; }
public:
property double ViewportHeight {
    double get ();
    private: void set (double value);
}
member ViewportHeight : float with get, private set
function get ViewportHeight () : double
private function set ViewportHeight (value : double)

Property Value

Type: System.Double
The height of the viewport.

.NET Framework Security

See Also

Reference

ViewState Class

Microsoft.VisualStudio.Text.Editor Namespace