• 大小: 1.21MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-08-12
  • 语言: ASP
  • 标签: 实例  

资源简介

aspose.cad for .NET 实例:包含使用aspose.cad 如何将CAD文件转换成PDF;png文件等

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Aspose.CAD.Examples.CSharp
{
    internal static class Commonhelper
    {
        internal const double DPI = 300;

        internal static int MMtoPixels(double mm double dpi)
        {
            double inches = mm * 0.0393701;
            double pixels = dpi * inches;

            return (int)(pixels + 0.5);
        }

        internal static int INtoPixels(double inches double dpi)
        {
            double pixels = dpi * inches;
            return (int)(pixels + 0.5);
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-09-04 15:31  Aspose.CAD-for-.NET-master\
     文件         569  2018-09-04 15:31  Aspose.CAD-for-.NET-master\.gitignore
     目录           0  2018-09-04 15:31  Aspose.CAD-for-.NET-master\Examples\
     文件         888  2018-09-04 15:31  Aspose.CAD-for-.NET-master\Examples\Aspose.CAD.Examples.CSharp.sln
     目录           0  2018-09-04 15:31  Aspose.CAD-for-.NET-master\Examples\CSharp\
     目录           0  2018-09-04 15:31  Aspose.CAD-for-.NET-master\Examples\CSharp\ApplyLicense\
     文件         551  2018-09-04 15:31  Aspose.CAD-for-.NET-master\Examples\CSharp\ApplyLicense\ApplyLicenseByPath.cs
     文件         723  2018-09-04 15:31  Aspose.CAD-for-.NET-master\Examples\CSharp\ApplyLicense\ApplyLicenseUsingFileStream.cs
     文件        1208  2018-09-04 15:31  Aspose.CAD-for-.NET-master\Examples\CSharp\ApplyLicense\MeteredLicensing.cs
     文件        5728  2018-09-04 15:31  Aspose.CAD-for-.NET-master\Examples\CSharp\CSharp.csproj
     文件         958  2018-09-04 15:31  Aspose.CAD-for-.NET-master\Examples\CSharp\CSharp.sln
     文件         628  2018-09-04 15:31  Aspose.CAD-for-.NET-master\Examples\CSharp\Commonhelper.cs
     目录           0  2018-09-04 15:31  Aspose.CAD-for-.NET-master\Examples\CSharp\ConvertingCAD\
     文件        3010  2018-09-04 15:31  Aspose.CAD-for-.NET-master\Examples\CSharp\ConvertingCAD\AdjustingCADDrawingSize.cs
     文件        4025  2018-09-04 15:31  Aspose.CAD-for-.NET-master\Examples\CSharp\ConvertingCAD\CADlayersToRasterImageFormats.cs
     文件        1641  2018-09-04 15:31  Aspose.CAD-for-.NET-master\Examples\CSharp\ConvertingCAD\ConvertDrawingToRasterImage.cs
     文件        1850  2018-09-04 15:31  Aspose.CAD-for-.NET-master\Examples\CSharp\ConvertingCAD\ConvertLayoutsToRasterImage.cs
     文件        1491  2018-09-04 15:31  Aspose.CAD-for-.NET-master\Examples\CSharp\ConvertingCAD\EnableTrackingForCADRendering.cs
     文件        6967  2018-09-04 15:31  Aspose.CAD-for-.NET-master\Examples\CSharp\ConvertingCAD\GetSizeOfCADLayout.cs
     文件         822  2018-09-04 15:31  Aspose.CAD-for-.NET-master\Examples\CSharp\ConvertingCAD\IntegrateIGESFormat.cs
     文件        1051  2018-09-04 15:31  Aspose.CAD-for-.NET-master\Examples\CSharp\ConvertingCAD\ListLayouts.cs
     文件        1014  2018-09-04 15:31  Aspose.CAD-for-.NET-master\Examples\CSharp\ConvertingCAD\MeshSupport.cs
     文件        1490  2018-09-04 15:31  Aspose.CAD-for-.NET-master\Examples\CSharp\ConvertingCAD\PenSupportInExport.cs
     文件         741  2018-09-04 15:31  Aspose.CAD-for-.NET-master\Examples\CSharp\ConvertingCAD\ReadingDWT.cs
     文件        1699  2018-09-04 15:31  Aspose.CAD-for-.NET-master\Examples\CSharp\ConvertingCAD\SettingAutoLayoutScaling.cs
     文件        2291  2018-09-04 15:31  Aspose.CAD-for-.NET-master\Examples\CSharp\ConvertingCAD\SettingBackgroundAndDrawingColors.cs
     文件        2125  2018-09-04 15:31  Aspose.CAD-for-.NET-master\Examples\CSharp\ConvertingCAD\SettingCanvasSizeAndMode.cs
     文件        2123  2018-09-04 15:31  Aspose.CAD-for-.NET-master\Examples\CSharp\ConvertingCAD\SubstitutingFonts.cs
     目录           0  2018-09-04 15:31  Aspose.CAD-for-.NET-master\Examples\CSharp\DWF-Drawings\
     文件        2630  2018-09-04 15:31  Aspose.CAD-for-.NET-master\Examples\CSharp\DWF-Drawings\GetSizeOfDwfLayout.cs
     文件        1221  2018-09-04 15:31  Aspose.CAD-for-.NET-master\Examples\CSharp\DWF-Drawings\SupportOflayers.cs
............此处省略68个文件信息

评论

共有 条评论