在ASP.NET中上传CAD文件(DWG,DWF,DXF) [英] Upload CAD files (DWG, DWF, DXF) in ASP.NET

查看:72
本文介绍了在ASP.NET中上传CAD文件(DWG,DWF,DXF)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
当天的问候.

我有一个与图片上传有关的问题.
实际上,目前,我在asp.net应用程序中具有.png,.jpg,.jpeg,.bmp,.gif,.psd格式的图像功能.为此,我将这些文件格式上载到图像文件夹中,并使用img标签从文件夹访问图像路径,将其显示在网页上所需的位置.

现在,我需要在网页上上传,显示(也打印)CAD文件(DWG,DWF,DXF),无论是图像还是其他类型都需要.我尚未找到任何解决方案.

请帮助我在asp.net项目中实现此目标.

Hi All,
Greetings for the day.

I have an issue related to image upload.
Actually, currently I have image functionality for .png, .jpg, .jpeg, .bmp, .gif, .psd formats in my asp.net application. For this, I upload these file formats in the image folder and display it where ever required on the web page using img tag accessing the image path from folder.

Now, I have required to upload, display (and print also) CAD files (DWG, DWF, DXF) on web page where ever required either as image or another type. I haven''t found any solution yet to do so.

Please help me to implement this in my asp.net project.

推荐答案

CadLib 4.0 DWG DXF .NET库 [
A DXF Reader Solution and a Simple DXF Viewer[^]

CadLib 4.0 DWG DXF .NET Library [^]


大多数浏览器将无法处理图像.您需要即时将这些图像转换为JPEG,GIF,PNG等常见格式...您可以使用自定义处理程序来转换图像并生成兼容的格式.
Most of the browsers would not be able to handle the images. You need to convert those images on the fly to common formats like JPEG, GIF, PNG... You can use a custom handler to convert the images and produce the compatible formats.


这篇关于在ASP.NET中上传CAD文件(DWG,DWF,DXF)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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