Window.Width Property

Definition

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

public:
 property int Width { int get(); void set(int value); };
public:
 property int Width { int get(); void set(int value); };
[System.Runtime.InteropServices.DispId(105)]
public int Width { [System.Runtime.InteropServices.DispId(105)] get; [System.Runtime.InteropServices.DispId(105)] set; }
[<System.Runtime.InteropServices.DispId(105)>]
[<get: System.Runtime.InteropServices.DispId(105)>]
[<set: System.Runtime.InteropServices.DispId(105)>]
member this.Width : int with get, set
Public Property Width As Integer

Property Value

Int32

The width of the window in character units.

Attributes

Examples

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

Applies to