Metafile.getHandle

Overview | Methods | This Package | All Packages

Metafile.getHandle

Retrieves the Win32 handle (HMETAFILE) to this metafile.

Syntax

public int getHandle()

Return Value

Returns the handle to this metafile.

Exceptions

WFCException thrown if the Metafile object has been disposed through a call to its dispose method.

Remarks

The handle returned by this method is not a copy of the metafile handle. Therefore, this handle should not be freed by the caller.

See Also   copyHandle