|
高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】save Dwg With Raster Image With Odrxrasterservices
save dwg with raster image with odrxrasterservices
save dwg with raster image with odrxrasterservices
hi all,
i'm trying to save a dwg with a raster image and i have problems implementing the odrxrasterservices module for the oddbrasterimagedef::setimage() . i need to create the input of (oddbrasterimagedefptr)pimagedef->setimage() and the only way i've already seen is by (odrxrasterservicesptr)prassvcs->loadrasterimage(imagefilename). also, i want it loaded dynamically with
oduint32 rasterid = odrxdynamiclinker()->loadapp(rx_raster_services_appname);
odrxrasterservicesptr prassvcs = pdynlnk->module(rasterid);
oddbrasterimagedefptr
pimagedef->setimage(prassvcs->loadrasterimage(imagefilename));
has anyone an implementation of this (or something like this) ?
any suggestion will be realy appreciated..
our examples folder contains sources of rasterservices implementation (rxrasterservices.drx module)
sergey slezkin
|