• dwg格式用什么打开


    dwg文件怎么打开dwg格式用什么打开?如何打开dwg文件?今天小编在这里推荐几款控件可以实现打开预览编辑DWG格式文件的目的。

    CADViewX是一款强大的CAD文件以及图片浏览库,在不需要其他三方软件的环境下,cad预览控件,CAD打印,cad文件以及其他格式图片,并且支持鼠标拖拉,放大等操作。改控件支持AutoCAD DWG格式文件, DXF格式文件以及所有版本的DWF格式文件。

    DbCAD dev是非常优秀的CAD控件产品,它集成了CAD, AM/FM, GPS and RDBMS等技术,让相关的应用程序开发变得快速而简单,支持打开矢量文件DWG格式文件,DXF格式文件, Microstation® DGN, ESRI® Shape 文件格式等。

    当然还有其他的方法,比如下面:

    C#.NET 窗口打开shp和dwg格式的文件代码:

    private void btnOpen_Click(object sender, EventArgs e)

            {
                OpenFileDialog dlg = new OpenFileDialog();
                dlg.Filter = "Shape file(*.shp)|*.shp|DWG file(*.dwg)|*.dwg";
                dlg.Title = "打开源数据文档";
                
                //定义存放打开IFeatureClass的字符串数组
                string FilePath;
                if (dlg.ShowDialog() == DialogResult.OK)
                {
                    FilePath = dlg.FileName;
                    this.textEdit1.Text = FilePath;
                    
                    //得到打开文件的坐标系
                    //string strSpatialReferenct = this.getSpatialReference(FilePath);
                    //this.textEdit3.Text = strSpatialReferenct;

                    //得到保存文件的路径及文件名,并设置写入输出路径中
                    string savePath = this.getSavePath(FilePath);
                    this.textEdit2.Text = savePath;
                }
            }

  • 相关阅读:
    JAVA IDE IntelliJ IDEA使用简介(一)—之界面元素
    ASP.NET MVC的运行机制--url的全局分析
    ASP.NET MVC
    [Android 新特性] 15项大改进 Android 4.4新特性解析
    [Android Pro] activity-alias的使用
    [Android Pro] 控制硬加速 hardwareAccelerated 在3.0才有的
    [Android Pro] Android中IntentService的原理及使用
    [SQLite] SQLite学习手册(数据库和事务)
    [Android UI] ActionBar 自定义属性
    [Android Memory] App调试内存泄露之Context篇(下)
  • 原文地址:https://www.cnblogs.com/lbkjw/p/3935455.html
Copyright © 2020-2023  润新知