public static void ExportLayout(string filename, SILayout layout, LayoutExportConfig options) { var exporter = new DxfLayoutExporter(layout, options); exporter.GenerateDocument(); exporter.Document.Save(filename); }
private SvgLayoutExporter(SILayout layout, LayoutExportConfig options) : base(layout, options) { Layers = new Dictionary<string, SvgGroup>(); var svgDPI = (PreciseDouble)96; PixelToCm = (PreciseDouble)2.54d / svgDPI; PointToCm = PixelToCm / 0.75; }
protected LayoutExporterBase(SILayout layout, LayoutExportConfig options) { Layout = layout; Options = options; }
private DxfLayoutExporter(SILayout layout, LayoutExportConfig options) : base(layout, options) { Layers = new Dictionary <string, Layer>(); ColorDictionary = new Dictionary <string, AciColor>(); }