Microsoft SDK for Java

getPixelRes

This method of the Device Class retrieves the device's pixel resolution (in pixels per inch).

Syntax

public Dimension getPixelRes();

Return Value

Returns the pixel resolution.

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