StatusBar.SetXYWidthHeight(Int32, Int32, Int32, Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置中的 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)
参数
- 属性
示例
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