StatusBar::SetXYWidthHeight Method (Int32, Int32, Int32, Int32)

 

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

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

void SetXYWidthHeight(
	int X,
	int Y,
	int Width,
	int Height
)

Parameters

X
Type: System::Int32

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

Y
Type: System::Int32

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

Width
Type: System::Int32

Required. The width number to display in the StatusBar.

Height
Type: System::Int32

Required. The height number to display in the StatusBar.

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
Return to top
Show: