NOV Diagram can load and save drawings in many popular file formats. All supported drawing file formats are exposed as static properties of the NDrawingFormat class.
The following table illustrates the drawing file formats currently supported by NOV Diagram and whether they can be used to load drawings, to save drawings or both.
File Format | Format Property | Load | Save | Notes |
---|---|---|---|---|
Nevron Binary Drawing (NDB) | NDrawingFormat.NevronBinary | ✔ | ✔ | The default native NOV Diagram format. Preserves all formatting and information. |
Nevron XML Drawing (NDX) | NDrawingFormat.NevronXml | ✔ | ✔ | Native NOV Diagram format. Preserves all formatting and information. |
MyDraw XML Drawing Template (NDTX) | NDrawingFormat.NevronXmlDrawingTemplate | ✔ | ✔ | Native NOV Diagram format. Preserves all formatting and information. Used as a template for new documents. |
Visio Drawing (VSDX) | NDrawingFormat.Visio | ✔ | ✔ | The drawing format used in Visio 2013 and newer. |
Visio 2003-2010 Drawing (VSD) | NDrawingFormat.Visio2003 | ✔ | ✘ | The binary drawing format used from Visio 2003 to Visio 2010. |
AutoCAD Drawing Interchange (DXF) | NDrawingFormat.VectorAutoCadDxf | ✔ | ✔ | Imports the AutoCAD drawing in a shape with the default AutoCAD dark gray background. Exports only the active page of the drawing. |
Enhanced Metafile (EMF and EMF+) | NDrawingFormat.VectorEmf | ✔ | ✔ | Exports only the active page of the drawing. |
ESRI Shapefile (SHP) | NDrawingFormat.EsriShapefile | ✔ | ✘ | A popular file format that contains vector map data commonly used by geographic information system (GIS) software. |
Genealogical Data Communication (GEDCOM) | NDrawingFormat.Gedcom | ✔ | ✔ | Creates an empty file if no family tree shapes are present in the diagram. For more information check out the Family Tree Diagrams topic. |
Portable Document Format (PDF) | NDrawingFormat.Pdf | ✘ | ✔ | Exports only the active page of the drawing. |
Raster Images (BMP, PNG, JPG, GIF, TIFF) | NDrawingFormat.RasterBmp NDrawingFormat.RasterPng NDrawingFormat.RasterJpeg NDrawingFormat.RasterTiff |
✘ | ✔ | Diagrams cannot be loaded from raster images, but raster images can be inserted in a diagram by opening the Insert ribbon tab and clicking the Image button or by configuring the fill style of a geometry to be of type image fill. Save exports only the active page of the drawing. |
Scalable Vector Graphics (SVG) | NDrawingFormat.VecorSVG | ✘ | ✔ | Exports only the active page of the drawing. |
Web Page (HTML) | NDrawingFormat.Html | ✘ | ✔ | Exports the whole diagram to a single HTML page. If the diagram has multiple pages, tab navigation is added to the resulting HTML page. |