StatusBar.SetXYWidthHeight(Int32, Int32, Int32, Int32) Method

Definition

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

public:
 void SetXYWidthHeight(int X, int Y, int Width, int Height);
public:
 void SetXYWidthHeight(int X, int Y, int Width, int Height);
void SetXYWidthHeight(int X, int Y, int Width, int Height);
[System.Runtime.InteropServices.DispId(7)]
public void SetXYWidthHeight (int X, int Y, int Width, int Height);
[<System.Runtime.InteropServices.DispId(7)>]
abstract member SetXYWidthHeight : int * int * int * int -> unit
Public Sub SetXYWidthHeight (X As Integer, Y As Integer, Width As Integer, Height As Integer)

Parameters

X
Int32

Required. The x-coordinate number to display in the StatusBar.

Y
Int32

Required. The y-coordinate number to display in the StatusBar.

Width
Int32

Required. The width number to display in the StatusBar.

Height
Int32

Required. The height number to display in the StatusBar.

Attributes

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  

Applies to