Microsoft SDK for Java

getWidth

This method of the Direct3dRMViewport Class retrieves the width (measured in pixels) of the viewport.

Syntax

public int getWidth();

Return Value

Returns the width of the viewport (in pixels).

© 1999 Microsoft Corporation. All rights reserved. Terms of use.