ITextView.ViewportWidth Property
Gets the width 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
'Dichiarazione
ReadOnly Property ViewportWidth As Double
Get
double ViewportWidth { get; }
property double ViewportWidth {
double get ();
}
abstract ViewportWidth : float
function get ViewportWidth () : 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.