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.

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 DLL: LFDWF. 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 DRaWingDWG - DWG Format, DXF - Drawing Interchange Format, EMF - Windows Metafile Formats, GBR - Gerber Format,  PCL - Printer Command Language Format, PCT - Macintosh Pict FormatPLT - PLT / HPGL FormatSHP - ESRI Shape Format, PDF - Portable Document FormatPS - PostScript Document Format, RTF - Rich Text Format, SVG - Scalable Vector Graphics Format, VEC - LEADTOOLS Vector Dump Format, VPG - 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

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

LEADTOOLS Vector C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.