Microsoft SDK for Java

Metafile.getRenderedSize

Retrieves the size of the image, in logical units, for the specified Graphics object.

Syntax

public final Point getRenderedSize( Graphics g )

Parameters

g

The Graphics object to use when converting the size of the metafile to logical units.

Return Value

Returns a Point object that specifies, in logical units, the dimensions of the metafile for the specified Graphics object.

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