Udostępnij za pośrednictwem


TextPane.Width Property

Definition

Gets the width of the pane in character units.

public:
 property int Width { int get(); };
public:
 property int Width { int get(); };
[System.Runtime.InteropServices.DispId(5)]
public int Width { [System.Runtime.InteropServices.DispId(5)] get; }
[<System.Runtime.InteropServices.DispId(5)>]
[<get: System.Runtime.InteropServices.DispId(5)>]
member this.Width : int
Public ReadOnly Property Width As Integer

Property Value

The width of the pane 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