Поделиться через


StatusBar.SetXYWidthHeight - метод

Обновлен: Ноябрь 2007

Задает индикаторы координат x, у, ширины и высоты в объекте StatusBar.

Пространство имен:  EnvDTE
Сборка:  EnvDTE (в EnvDTE.dll)

Синтаксис

'Декларация
Sub SetXYWidthHeight ( _
    X As Integer, _
    Y As Integer, _
    Width As Integer, _
    Height As Integer _
)
'Применение
Dim instance As StatusBar
Dim X As Integer
Dim Y As Integer
Dim Width As Integer
Dim Height As Integer

instance.SetXYWidthHeight(X, Y, Width, _
    Height)
void SetXYWidthHeight(
    int X,
    int Y,
    int Width,
    int Height
)
void SetXYWidthHeight(
    int X, 
    int Y, 
    int Width, 
    int Height
)
function SetXYWidthHeight(
    X : int, 
    Y : int, 
    Width : int, 
    Height : int
)

Параметры

  • X
    Тип: System.Int32
    Обязательный. Значение x-координаты, отображаемое в объекте StatusBar.
  • Y
    Тип: System.Int32
    Обязательный. Значение y-координаты, отображаемое в объекте StatusBar.
  • Width
    Тип: System.Int32
    Обязательный. Значение ширины, отображаемое в объекте StatusBar.
  • Height
    Тип: System.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

Разрешения

См. также

Ссылки

StatusBar Интерфейс

StatusBar - члены

EnvDTE - пространство имен