Microsoft SDK for Java

Graphics.getPhysicalSizeX

Retrieves, in inches, the physical size for a specified number of horizontal logical coordinates.

Syntax

public final float getPhysicalSizeX( int units )

Parameters

units

The number of logical units for which to retrieve the size.

Return Value

Returns the number of inches represented by the specified number of logical units.

See Also   getPhysicalSizeY

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