ViewState.ViewportWidth Property
Gets the width of the viewport.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'宣言
Public Property ViewportWidth As Double
public double ViewportWidth { get; private set; }
public:
property double ViewportWidth {
double get ();
private: void set (double value);
}
member ViewportWidth : float with get, private set
function get ViewportWidth () : double
private function set ViewportWidth (value : double)
Property Value
Type: System.Double
The width of the viewport.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.