bmp export and whitespace
bmp export and whitespace
hello,
i have seen this problem on the forum but is addressed only in dwgdirectx. is there a solution for dwgdirect c++?
i have successfully exported drawings to bmp but it appears that zoomextents does not work. this results in a bmp file much larger than it should be.
my code goes as follows:
oddbobjectptr pvpobj = m_pdb->activeviewportid().safeopenobject(oddb::kforwrite );
oddbabstractviewportdataptr pavd(pvpobj);
odgsview* pview = pavd->gsview(pvpobj);
odabstractviewpeptr pvppe(pview);
odgeboundblock3d bbox;
bool bbboxvalid = pvppe->viewextents(pview, bbox);
bool bzoom = pvppe->zoomextents(pview, &bbox);
both viewextents and zoomextents return true.
zoomextents has no effect on the output image.
what am i doing wrong? i am using 2.4.1.
thanks...
last edited by
robertpantangco@hotmail.com; 12th october 2007 at 05:03 amfff">. reason: additional info
does this happen with a specific file or with all files?
if it happens not with all files a sample would be helpful.
sergey slezkin