Share via


Overview | Methods | Fields | This Package | All Packages

OverviewMethodsFieldsThis PackageAll Packages

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.