Microsoft SDK for Java

getAspectRatio

This method of the Device Class retrieves the device aspect ratio in terms of a Dimension data type.

Syntax

public Dimension getAspectRatio();

Return Value

Returns a Dimension that defines the device aspect ratio.

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