Share via


Window.Width, propriété

Obtient ou définit la largeur de la fenêtre en nombre de caractères.

Espace de noms :  EnvDTE
Assembly :  EnvDTE (dans EnvDTE.dll)

Syntaxe

'Déclaration
Property Width As Integer
    Get
    Set
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)

Valeur de propriété

Type : System.Int32
Largeur de la fenêtre en nombre de caractères.

Exemples

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

Sécurité .NET Framework

Voir aussi

Référence

Window Interface

EnvDTE, espace de noms