如何在C#中打印DWG文件 [英] How to print dwg file in c#

查看:236
本文介绍了如何在C#中打印DWG文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我想在不打开AutoCad的情况下以编程方式在c#项目中打印dwg文件.我的应用程序是基于网络的文件,并且我的文件位于共享文件夹中.我不知道该怎么办?

发现了类似的问题那里-[正在打印AutoCad DWF和DWG文件] [ ObjectARX [ Auto Desk开发开发中心 [


Hi everyone,
I want to print a dwg file programmatically in my c# project without opening AutoCad.my application is network base and my file is in a shared folder.I do not know how should i do that?

解决方案

Found Similar question there-[Printing AutoCad DWF and DWG files][^] where an answer suggested by an OP is to used those with VS2k5 was to use the installer that installs a wizard in VS that sets everything up for you right away. It is the ObjectARX SDK, found here:
ObjectARX[^] and other reference link is
Auto Desk Development Development Center [^]


You have basically three options:

1) Write your own .DWG file parser and print from that - lots of work.
2) Use a third party control - as SA said, lots of problems.
3) Use the application which knows the files best: Autocad.

If you can''t do (3), then you have a lot of work ahead of you!


I asked my question in Autodesk site and receive my answer in Through the interface site.


这篇关于如何在C#中打印DWG文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆