Share via


Overview | This Package | All Packages

OverviewThis PackageAll Packages

Metafile Methods

Constructors Description
Metafile Creates a Metafile object.
Methods Description
clone Clones the Metafile object and returns a duplicate.
copyHandle Retrieves a copy of the Win32 handle for the metafile on which this object is based.
destroyHandle Called when this object is going to destroy its Win32 handle.
dispose Frees all the resources allocated by this object.
drawStretchTo Renders the metafile image to a Graphics object, stretching the image to fill the specified dimensions.
drawTo Renders the metafile image (or part of it) to a Graphics object, cropping the image to fit the specified dimensions.
finalize Frees the resources allocated by the Metafile object.
getExtension Retrieves the recommended file extension for files that persist this object.
getGraphics Retrieves a Graphics object that you can use to paint to this image.
getHandle Retrieves the Win32 handle (HMETAFILE) to this metafile.
getPICTDESC Retrieves a PICTDESC (Picture Descriptor) for this metafile. 
getRenderedSize Retrieves the size of the image, in logical units, for the specified Graphics object.
getSize Retrieves the size of the metafile in .01 millimeter units.
toString Retrieves a human-readable string representation of this object.