查看单个帖子
旧 2009-05-04, 06:13 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】converting a dwg to a windows metafile 9wmf0

converting a dwg to a windows metafile (wmf)
converting a dwg to a windows metafile (wmf)
what is the simpliest way to export a oddbdatabase to a wmf file ?
i'm currently trying to do this very thing. i seems that you have render the drawing by calling the update method, and override the odgigeometrysimplifier class, (specifically the polylineout, shellfaceout, rasterimageproc and metafileproc methods) to draw to the wmf device context.
i suggest you look at the exgssimpledevice sample as a good starting point. it does not do any rendering, but it provides all the hooks you need.
regards,
sijmen.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)