Computer Graphics Metafile is a format used for the exchange of vector and bitmap data. This file format is supported by Autovue and Corel. LEADTOOLS supports versions 1, 2, 3 and 4 of CGM, as well as the Binary data-encoding format of CGM.
LEADTOOLS supports loading this format as a raster image, vector image, or SVG (Scalable Vector Graphics) document.
The following table indicates which objects LEAD can load and which objects it can save:
Object: | Load: | Save: |
Cell Array | Supported | Not Supported |
Circle | Supported | Not Supported |
3-Point Circular Arc | Not Supported | Not Supported |
Circular Arc Center | Supported | Not Supported |
Ellipse | Supported | Supported |
Elliptical Arc | Supported | Not Supported |
Font | Supported | Supported |
Lines | Supported | Supported |
PolyBezier | Supported | Not Supported |
Polygons | Supported | Supported |
Polyline | Supported | Supported |
Polymarker | Supported | Not Supported |
Raster | Supported | Not Supported |
Rectangle | Supported | Supported |
Restricted Text | Supported | Not Supported |
Text | Supported | Supported |
Read and write support for this format is provided only in the Document/Medical toolkits.
The default extension used by this file format is: CGM.
This file format does not support layers.
The file constants associated with this file format are:
Constant | Read Support | Write Support | Description |
Cgm | Yes | Yes | Computer Graphics Metafile. |
When CGM files are rasterized, they are 24 BPP.
Required DLL: Leadtools.Vector.dll and Leadtools.Codecs.Cgm.dll. For a listing of the exact DLLs needed, based on the toolkit version, refer to Files To Be Included With Your Application .
Related Formats: CMX - Corel Presentation Exchange Format, DGN - Intergraph Format, DRW - Micrografx Designer DRaWing, DWF - DWF Format, DWG - DWG Format, DXF - Drawing Interchange Format, EMF - Windows Metafile Formats, GBR - Gerber Format, PCL - Printer Command Language Format, PCT - Macintosh Pict Format, PDF - Portable Document Format, PLT - PLT / HPGL Format, PS - PostScript Document Format, RTF - Rich Text Format, SHP - ESRI Shape Format, SVG - Scalable Vector Graphics Format, WPG - WordPerfect Vector Format, WMF - Windows Metafile Formats, WMZ - Compressed Windows Metafile Format, E00 - ArcInfo Interchange File Format, MIF - MapInfo Interchange File Format.
Platforms: .NET 2/3, .NET 4
Products |
Support |
Feedback: File Formats: Computer Graphics Metafile (CGM) |
Introduction |
Help Version 19.0.2017.6.21
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.