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
'Usage
Dim instance As Window 
Dim value As Integer 

value = instance.Width

instance.Width = value
int Width { get; set; }
property int Width {
    int get ();
    void set (int value);
}
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

Window Members

EnvDTE Namespace