Click or drag to resize

CadExporter Class

This class handles the export of job elements to different file formats, e.g. to DXF. They are listed in the static export filter string. The commercial CADImport library is used.
Inheritance Hierarchy
SystemObject
  RAYLASE.Marker.VectorGraphicElement.ExporterCadExporter

Namespace: RAYLASE.Marker.VectorGraphicElement.Exporter
Assembly: RAYLASE.Marker.VectorGraphicElement (in RAYLASE.Marker.VectorGraphicElement.dll) Version: 2.19.0
Syntax
C#
public class CadExporter

The CadExporter type exposes the following members.

Constructors
 NameDescription
Public methodCadExporter Initializes the CadExporter class.
Top
Properties
 NameDescription
Public propertyCadImage The global CADImage object to collect all data into.
Public propertyStatic memberExportFilter This is the filter string for all export file types available in the CADImport library for use in the file save dialog.
Public propertyStatic memberExportTypes This is the list of all export file types available in the CADImport library for use in the file save dialog.
Top
Methods
 NameDescription
Public methodAddFillings Adds the fillings in the given list to the internal cadImage. Only hatch fillings are supported yet.
Public methodAddToCadImage Adds all commands found in the given layers to the internal cadImage.
Public methodAddWarning Adds a warning to the list of warnings generated while putting data into the CADImage object. E.g. if a filling other than hatch is found in the data to export.
Public methodGetWarnings Returns the list of warnings, accumulated in a single string with NL as seperator.
Public methodSaveToFile Saves the internal CadImage to the given file.
Public methodSaveToStream Saves the internal CadImage into the given stream.
Top
See Also