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 toolkits. Read and write support for this format is provided in the Document and Medical Imaging toolkits.

DWFX

DWFX is an Autodesk DWF XPS Document. Autodesk has teamed with Microsoft to seamlessly integrate DWF technology with Windows Vista 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
FILE_DWF Yes Yes [145] AutoDesk AutoCAD for storing DWG files on the World Wide Web.
FILE_DWF_TEXT_AS_POLYLINE N/A Yes [297] 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.
FILE_DWFX Yes Yes [376] 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 DLLs and Libraries

Related Formats

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

LEADTOOLS Vector C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.