Share via


TextPane.Width Property

Gets the width of the pane in character units.

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

Syntax

'Declaration
ReadOnly Property Width As Integer
int Width { get; }
property int Width {
    int get ();
}
abstract Width : int
function get Width () : int

Property Value

Type: System.Int32
The width of the pane 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

TextPane Interface

EnvDTE Namespace