查看单个帖子
旧 2009-05-07, 03:23 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】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
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)