Freigeben über


ITextView.ViewportWidth-Eigenschaft

Ruft die Breite des sichtbaren Inhaltsfensters (einschließlich des Rands) in logischen Pixeln ab.

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

Syntax

'Declaration
ReadOnly Property ViewportWidth As Double
double ViewportWidth { get; }
property double ViewportWidth {
    double get ();
}
abstract ViewportWidth : float with get
function get ViewportWidth () : double

Eigenschaftswert

Typ: Double
Die Breite des Viewports.

.NET Framework-Sicherheit

Siehe auch

Referenz

ITextView Schnittstelle

Microsoft.VisualStudio.Text.Editor-Namespace