This document is archived and information here might be outdated. Recommended version. |
Sets the viewport screen coordinates.
[Visual Basic .NET] Public Sub SetViewport ( _ ByVal x As Integer, _ ByVal y As Integer, _ ByVal Width As Integer, _ ByVal height As Integer _ )
[C#] public void SetViewport ( int x, int y, int Width, int height );
[C++]
HRESULT SetViewport(
long x,
long y,
long Width,
long 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