Freigeben über


StatusBar.SetXYWidthHeight-Methode

Legt die Indikatoren für die x-, y-, Breiten- und Höhenkoordinaten in StatusBar fest.

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
)

Parameter

  • X
    Typ: Int32

    Erforderlich. Der in StatusBar anzuzeigende Wert für die x-Koordinate.

  • Y
    Typ: Int32

    Erforderlich. Der in StatusBar anzuzeigende Wert für die y-Koordinate.

  • Width
    Typ: Int32

    Erforderlich. Der in StatusBar anzuzeigende Wert für die Breite.

  • Height
    Typ: Int32

    Erforderlich. Der auf der StatusBar anzuzeigende Wert für die Höhe.

Beispiele

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-Sicherheit

Siehe auch

Referenz

StatusBar Schnittstelle

EnvDTE-Namespace