Share via


Window.Width Property

Gets or sets the width of the window in character units.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

Syntax

'Declaration
Property Width As Integer
int Width { get; set; }
property int Width {
    int get ();
    void set (int value);
}
abstract Width : int with get, set
function get Width () : int 
function set Width (value : int)

Property Value

Type: System.Int32
The width of the window in character units.

Examples

Sub WidthExample()
   Dim objWin As Window
   objWin = DTE.Windows.Item(1)
   MsgBox("Window width: " & objWin.Width)
End Sub

.NET Framework Security

See Also

Reference

Window Interface

EnvDTE Namespace