Export (0) Print
Expand All

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)

double ViewportWidth { get; }

Property Value

Type: System.Double
The width of the viewport.

Show:
© 2014 Microsoft