Create
Description
This method creates and initializes an instance of the TsgCADImage
object.
For loading a file it is necessary to create an instance of the descendant class, corresponding to the opened format, and then call the LoadFromFile
method of this descendant class.
More information about formats and their corresponding classes
Class | File format |
---|---|
TsgHPGLImage | PLT, HGL, HG, HPG, PLO, HP, HP1, HP2, HP3, HPGL, HPGL2, HPP, GL, GL2, PRN, SPL, RTL, PCL |
TsgSVGImage | SVG, SVGZ |
TsgDXFImage | DXF |
TsgCADDXFImage | DXF |
TsgDWFImage | DWF |
TsgDWGImage | DWG |
TsgCGMImage | CGM |
Syntax
constructor Create; override;