ISharedStatusBar.SetXYWH Method
Displays the (x,y) position and the width and height of the current graphics box in the editor information area of the status bar.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.UI
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Function SetXYWH ( _
possibleOwner As SharedStatusBarOwner, _
ByRef x As Object, _
ByRef y As Object, _
ByRef w As Object, _
ByRef h As Object _
) As Integer
int SetXYWH(
SharedStatusBarOwner possibleOwner,
ref Object x,
ref Object y,
ref Object w,
ref Object h
)
int SetXYWH(
SharedStatusBarOwner^ possibleOwner,
Object^% x,
Object^% y,
Object^% w,
Object^% h
)
abstract SetXYWH :
possibleOwner:SharedStatusBarOwner *
x:Object byref *
y:Object byref *
w:Object byref *
h:Object byref -> int
function SetXYWH(
possibleOwner : SharedStatusBarOwner,
x : Object,
y : Object,
w : Object,
h : Object
) : int
Parameters
- possibleOwner
Type: Microsoft.VisualStudio.Data.Schema.Package.UI.SharedStatusBarOwner
The owner of the status bar. If not the owner, nothing will happen.
- x
Type: System.Object%
Pointer to the x ordinate location of the upper-left corner of the current graphic.
- y
Type: System.Object%
Pointer to the y ordinate location of the upper-left corner of the current graphic.
- w
Type: System.Object%
Pointer to the width of the current graphic.
- h
Type: System.Object%
Pointer to the height of the current graphic.
Return Value
Type: System.Int32
.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.