Navigation:  DPLOTLIB Functions >

DPlot_GetEnhMetaFile function

Print this Topic Previous pageReturn to chapter overviewNext page

HENHMETAFILE DPlot_GetEnhMetaFile(int DocNum, float cx, float cy);

Parameters

DocNum

Document index for the document that you want a metafile picture of (1-32). In practice this will generally (though not necessarily) be the return value of a call to DPlot_Plot.

cx, cy

Requested width and height of the metafile, in inches.

Return Values

0

Generic error attempting to communicate with DPlot. This most often indicates that DPlot is currently busy, e.g. a modal dialog box is open.

>0

Handle to an enhanced metafile. This picture may be drawn in your application with the Windows API function PlayEnhMetaFile.

 

 

 

 


Page url: http://www.dplot.com/lib/index.htm?dplot_getenhmetafile.htm