![]() |
【转帖】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::onprint 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. |
所有的时间均为北京时间。 现在的时间是 07:24 PM. |