This document is archived and information here might be outdated. Recommended version. |
Returns the viewport screen coordinates.
[Visual Basic .NET]
Public Sub GetViewport ( _
ByRef x As Integer, _
ByRef y As Integer, _
ByRef Width As Integer, _
ByRef height As Integer _
)
[C#]
public void GetViewport (
ref int x,
ref int y,
ref int Width,
ref int height
);
[C++]
HRESULT GetViewport(
System.Int32* x,
System.Int32* y,
System.Int32* Width,
System.Int32* height
);
[C++] Parameters x [in]
x is a parameter of type long* y [in]
y is a parameter of type long* Width [in]
Width is a parameter of type long* height [in]
height is a parameter of type long*