Overview | Methods | This Package | All Packages
OverviewMethodsThis PackageAll Packages
Metafile.Metafile
Creates a Metafile object.
Syntax
public Metafile()
public Metafile( Rectangle bounds )
public Metafile( String fileName )
public Metafile( int handle )
public Metafile( Class type**, String** resource )
public Metafile( IDataStream stream )
public Metafile( Stream stream )
public Metafile( IPicture picture )
Parameters
bounds
A Rectangle object that specifies the dimensions of the metafile in .01 millimeter units.
fileName
The name of the file from which to load the metafile.
handle
A Win32 handle (HMETAFILE) to the metafile on which to base this object. This handle is not owned by the Metafile object; you are responsible for freeing it.
type
The class used to load the metafile resource.
resource
The resource to load.
stream
A data stream (IDataStream or com.ms.wfc.ole32.IStream) from which to load the metafile.
picture
The OLE com.ms.wfc.ole32.IPicture object from which to load the metafile.