查看单个帖子
旧 2009-05-04, 03:21 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】about printing with current view and plotting method using o

about printing with current view and plotting method using o
about printing with current view and plotting method using opendwg lib
hi, all
i am interested in the method of printing with current view and plot using opendwg lib.
so, i would like to add 2 more functions into the work which is already done with opendwg lib. one is to show and print current view, the rest is plotting function.
i will really thank you guys if anyone can help me get more information about that or how to develop that.
thanks
please, look at mfcapp sample. it has print\preview functionality.
well, mfcapp can not do those functions i metioned in the post above.
actuall, i would like to do the functionality of kview and kdisplay in mfc app.
so how can i use those?
please, help me...
last edited by cat12; 26th april 2006 at 01:37 amfff">.
mfcapp has all necessary calculations for kview, kdisplay. but mfcapp works with stored in active layout viewport info. when you pan or scale drawing, autocad save it to active layout viewport info, but not mfcapp.
so you can use mfcapp:nprint functionality for your task, but with your initial viewport parameters. for example kdisplay need viewportcenter, viewportw, viewporth. change it to values returned by active viewport and got current display preview.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)