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
- 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.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.