查看单个帖子
旧 2009-05-07, 04:24 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】store The Raster Image To The Dwg File

store the raster image to the dwg file
store the raster image to the dwg file
hi,all
i want store the raster image in the dwg file,can you give me some advice?
hi
check odwriteex sample for detailes. dbfiler.cpp file. key string is oddbrasterimageptr pimage = oddbrasterimage::createobject();
quote:
originally posted by alexander rumyantsev
hi
check odwriteex sample for detailes. dbfiler.cpp file. key string is oddbrasterimageptr pimage = oddbrasterimage::createobject();
hi alexander,
i can store the raster image into the dwg,but the raster image not embedded the dwg file,the raster image name changed ,the dwg file can't display the image! how to embedded the image into dwg file?
hi
i am not sure that this is possible... rasterimage stores only full\relative path... it is common mechanism. dwg doesn't embed pictures, dgn\dwf\fonts... just store path to file.
thank you!
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)