Share via


StatusBar.SetXYWidthHeight Method

Sets the x, y, width, and height coordinate indicators in the StatusBar.

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

Syntax

'Declaration
Sub SetXYWidthHeight ( _
    X As Integer, _
    Y As Integer, _
    Width As Integer, _
    Height As Integer _
)
void SetXYWidthHeight(
    int X,
    int Y,
    int Width,
    int Height
)
void SetXYWidthHeight(
    int X, 
    int Y, 
    int Width, 
    int Height
)
abstract SetXYWidthHeight : 
        X:int * 
        Y:int * 
        Width:int * 
        Height:int -> unit 
function SetXYWidthHeight(
    X : int, 
    Y : int, 
    Width : int, 
    Height : int
)

Parameters

Examples

Sub SetXYWidthHeightExample()
   Dim SBar As StatusBar
   SBar = DTE.StatusBar
   SBar.SetXYWidthHeight(10, 20, 30, 40)
   MsgBox("Notice the new X/Y Width/Height coordinates.")
End Sub

.NET Framework Security

See Also

Reference

StatusBar Interface

EnvDTE Namespace