Microsoft SDK for Java

Font.dispose

Frees all the resources allocated by this object.

Syntax

public void dispose()

Remarks

The dispose method frees only those resources allocated by the object. Such resources do not include handle copies that you retrieve using the object's copyHandle method; you must free these manually.

Once the dispose method is called, the Font object cannot be used.

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