Microsoft SDK for Java

getAspectRatioXY

This method of the Device Class retrieves the device aspect ratio in terms of an integer.

Syntax

public int getAspectRatioXY();

Return Value

Returns an integer that defines the device aspect ratio.

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