Share via


Overview | Methods | Fields | This Package | All Packages

OverviewMethodsFieldsThis PackageAll Packages

Pen.dispose

Frees all resources allocated by this object.

Syntax

public void dispose()

Remarks

The resources freed by this object are limited to those allocated by it. If you construct a Pen object based on a previously-allocated Win32 handle, the call to the dispose method does not free this object.