• 大小: 0.71M
    文件类型: .zip
    金币: 2
    下载: 1 次
    发布日期: 2021-02-26
  • 语言: C#
  • 标签: DWGdirect_NE  C#  

资源简介

DWGdirect_NET实例

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using DWGdirect.DatabaseServices;
using DWGdirect.Geometry;
using DWGdirect.GraphicsInterface;
using DWGdirect.Colors;
using DWGdirect;
// note that Getobject doesn‘t work in Acad 2009 so we use “obsolete“ Open instead
#pragma warning disable 618

namespace OdReadExMgd
{
  class DbDumper
  {
    public DbDumper() { }

    static string toDegreeString(double val)
    {
      return (val * 180.0 / Math.PI) + “d“;
    }
    static string toHexString(int val)
    {
      return string.Format(“0{0:X}“ val);
    }
    static string toArcSymbolTypeString(int val)
    {
      switch (val)
      {
        case 0: return “Precedes text“;
        case 1: return “Above text“;
        case 2: return “None“;
      }
      return “???“;
    }
    /************************************************************************/
    /* Shorten a path with ellipses.                        

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2020-05-07 16:11  DWGdirect_NET\
     目录           0  2020-05-07 16:10  DWGdirect_NET\Backup\
     文件        1899  2009-06-08 16:55  DWGdirect_NET\Backup\OdExamplesMgd.sln
     文件       11776  2009-11-11 22:48  DWGdirect_NET\Backup\OdExamplesMgd.suo
     目录           0  2020-05-07 16:10  DWGdirect_NET\Backup\OdReadExMgd\
     文件      140134  2009-10-09 20:37  DWGdirect_NET\Backup\OdReadExMgd\OdReadExMgd.cs
     文件        2099  2009-11-11 22:48  DWGdirect_NET\Backup\OdReadExMgd\OdReadExMgd.csproj
     目录           0  2020-05-07 16:10  DWGdirect_NET\Backup\OdReadExMgd\Properties\
     文件        1243  2009-10-30 22:15  DWGdirect_NET\Backup\OdReadExMgd\Properties\AssemblyInfo.cs
     目录           0  2020-05-07 16:10  DWGdirect_NET\Backup\OdViewExMgd\
     文件        1755  2009-11-07 00:55  DWGdirect_NET\Backup\OdViewExMgd\AuxCls.cs
     目录           0  2020-05-07 16:10  DWGdirect_NET\Backup\OdViewExMgd\Export_Import\
     文件        9250  2009-09-30 15:30  DWGdirect_NET\Backup\OdViewExMgd\Export_Import\BMPExport.Designer.cs
     文件        2453  2009-09-30 15:30  DWGdirect_NET\Backup\OdViewExMgd\Export_Import\BMPExport.cs
     文件        6419  2009-09-30 15:30  DWGdirect_NET\Backup\OdViewExMgd\Export_Import\BMPExport.resx
     文件        8990  2009-09-30 18:45  DWGdirect_NET\Backup\OdViewExMgd\Export_Import\ImExport.cs
     文件       20464  2009-09-30 15:30  DWGdirect_NET\Backup\OdViewExMgd\Export_Import\PDFExport.Designer.cs
     文件        3982  2009-09-30 15:30  DWGdirect_NET\Backup\OdViewExMgd\Export_Import\PDFExport.cs
     文件        6016  2009-09-30 15:30  DWGdirect_NET\Backup\OdViewExMgd\Export_Import\PDFExport.resx
     文件       13668  2009-09-30 15:30  DWGdirect_NET\Backup\OdViewExMgd\Export_Import\PublishDrawingSheets.Designer.cs
     文件        6002  2009-09-30 15:30  DWGdirect_NET\Backup\OdViewExMgd\Export_Import\PublishDrawingSheets.cs
     文件        6017  2009-09-30 15:30  DWGdirect_NET\Backup\OdViewExMgd\Export_Import\PublishDrawingSheets.resx
     文件       15176  2009-09-30 15:30  DWGdirect_NET\Backup\OdViewExMgd\Export_Import\publishSetting.Designer.cs
     文件        2680  2009-09-30 15:30  DWGdirect_NET\Backup\OdViewExMgd\Export_Import\publishSetting.cs
     文件        6017  2009-09-30 15:30  DWGdirect_NET\Backup\OdViewExMgd\Export_Import\publishSetting.resx
     文件        5150  2009-10-16 15:15  DWGdirect_NET\Backup\OdViewExMgd\File_Dependency.Designer.cs
     文件        1436  2009-10-16 15:19  DWGdirect_NET\Backup\OdViewExMgd\File_Dependency.cs
     文件        5814  2009-10-16 15:15  DWGdirect_NET\Backup\OdViewExMgd\File_Dependency.resx
     文件       15994  2009-11-07 01:08  DWGdirect_NET\Backup\OdViewExMgd\Form1.Designer.cs
     文件       20317  2009-11-07 01:08  DWGdirect_NET\Backup\OdViewExMgd\Form1.cs
     文件        6419  2009-11-07 01:08  DWGdirect_NET\Backup\OdViewExMgd\Form1.resx
............此处省略180个文件信息

评论

共有 条评论