|
HBITMAP DPlot_GetBitmap(int DocNum, int cx, int cy);
Parameters
DocNum | Document index for the document that you want a bitmap 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 bitmap, in pixels. |
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 a device-dependent bitmap. This picture may be drawn in your application with the Windows API functions BitBlt and/or StretchBlt. |
Remarks
Palette information is not returned, so this function does not work particularly well with 256 (or fewer) color displays.
|
|