Share via


Overview | Methods | This Package | All Packages

OverviewMethodsThis PackageAll Packages

Metafile.copyHandle

Retrieves a copy of the Win32 handle for the metafile on which this object is based.

Syntax

public final int copyHandle()

Return Value

Returns a copy of the Win32 handle (HMETAFILE) to the metafile that underlies this object.

Remarks

When you copy a metafile handle, you own the handle and are responsible for freeing it.

See Also   getHandle