StatusBar.SetXYWidthHeight(Int32, Int32, Int32, Int32) 方法

定义

设置中的 x、y、宽度和高度坐标指示器 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)

参数

X
Int32

必需。 要在中显示的 x 坐标值 StatusBar

Y
Int32

必需。 要在中显示的 y 坐标值 StatusBar

Width
Int32

必需。 要在中显示的宽度值 StatusBar

Height
Int32

必需。 要在中显示的高度 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  

适用于