Save a Project page to a bitmap. Default size is 200.
BOOL SaveBitmap( LPCSTR lpcszBmpFile, int nBmpSize = 200 )
Returns TRUE on success and FALSE on failure.
EX1
int PageBase_SaveBitmap_ex1() { // Make sure at least one graph page exists. GraphPage pg = Project.GraphPages(0); if( !pg ) { out_str("Invalid page!\n"); return 0; } // For this to succeed the folder c:\ must exist BOOL bOK = pg.SaveBitmap("c:\\Origin Graph.BMP"); out_int("OK = ", bOK); return 0; }
PageBase::SaveTemplate, PageBase::SaveEMF
origin.h