Window.Width Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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