File Formats: DWF Format (DWF)

DWF is a binary file format used by AutoDesk AutoCAD for storing DWG files on the World Wide Web. DWF is a 2D, vector-based description of drawings and illustrations.

LEADTOOLS © supports DWF versions 4, 5, 5.5 and 6.

This file format supports loading with different units.

This file format is not supported in the Imaging Pro toolkits. Read and write support for this format is provided in the Document and Medical Imaging toolkits.

LEADTOOLS supports loading this format as a raster image, vector image, or SVG (Scalable Vector Graphics) document.

DWFX

DWFX is an DWF XPS Document. Autodesk has teamed with Microsoft to seamlessly integrate DWF technology with Windows using the XML Paper Specification (XPS). Read and write support for this format is provided in the Document and Medical Imaging toolkits.

The file constants associated with these file formats are:

Constant Read Support Write Support Description
Dwf Yes Yes AutoDesk AutoCAD for storing DWG files on the World Wide Web.
DwfTextAsPolyline N/A Yes AutoDesk AutoCAD for storing DWG files on the World Wide Web. Use this format to save DWF and have Text objects converted to Polyline objects in the output file.
Dwfx Yes Yes An Autodesk DWF XPS Document. Files can be opened with the XPS Viewer.

When DWF files are rasterized, they are 24 BPP.

The following table indicates which objects LEAD can load and which objects it can save:

Object: DWF Load / DWFX Load: DWF Save / DWFX Save:
Arc Supported / Not Supported Not Supported / Not Supported
Attdef Supported / Not Supported Not Supported / Not Supported
Attrib Supported / Not Supported Not Supported / Not Supported
Background Supported / Not Supported Supported / Not Supported
BoundaryPolydraw Supported / Not Supported Not Supported / Not Supported
Circle Supported / Not Supported Supported / Not Supported
Dimension Supported / Not Supported Not Supported / Not Supported
Ellipse(Filled and Outline) Supported / Supported Supported / Supported
Hatch Not Supported / Not Supported Not Supported / Not Supported
Image Not Supported / Not Supported Not Supported / Not Supported
Insert Supported / Not Supported Not Supported / Not Supported
Leader Supported / Not Supported Not Supported / Not Supported
Lines Supported / Not Supported Supported / Not Supported
Mline Supported / Not Supported Not Supported / Not Supported
Mtext Supported / Not Supported Not Supported / Not Supported
Polygons Supported / Supported Not Supported / Supported
Polyline Supported / Supported Supported / Supported
Polytriangle Supported / Supported Not Supported / Supported
PureLine Supported / Not Supported Not Supported / Not Supported
PurePolygon Supported / Not Supported Not Supported / Not Supported
PurePolyline Supported / Not Supported Not Supported / Not Supported
Segment Supported / Not Supported Not Supported / Not Supported
Spline Supported / Not Supported Not Supported / Not Supported
Text Supported / Supported Supported / Supported
Vertex Supported / Not Supported Not Supported / Not Supported
Wpolyline Supported / Not Supported Not Supported / Not Supported
3DFace Supported / Not Supported Not Supported / Not Supported
3DSolid Supported / Not Supported Not Supported / Not Supported

Saving DWFX is only possible using the C API platform.

LEADTOOLS also supports text and embedded raster objects.

Required DLL: Leadtools.Vector.dll and Leadtools.Codecs.Dwf.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: CGM - Computer Graphics Metafile, CMX - Corel Presentation Exchange Format, DGN - Intergraph Format, DRW - Micrografx Designer DRaWing, 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, NAP - North American Presentation Layer Protocol Syntax (NAPLPS), WMZ - Compressed Windows Metafile Format, MIF - MapInfo Interchange File Format, E00 - ArcInfo Interchange File Format.

Platform Support

Extension Module Value Win32 Win64 Net32 Net64 Linux Android Apple UWP MimeType Friendly Name
Dwf DWF 145 image/vnd.dwf DWF Format

For a complete list for supported file formats, see Summary of All Supported File Formats.

For details of the file formats supported across products and platforms, refer to File Format Comparison Chart.

Help Version 22.0.2023.7.17
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Imaging, Medical, and Document
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.