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 is not supported in the non-vector toolkits. Read and write support for this format is provided in the LEADTOOLS Vector Imaging Pro toolkit and is unlocked when the Vector features are unlocked.

The file constants associated with this file format 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.

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:

Load:

Save:

Arc

Supported

Not Supported

Attdef

Supported

Not Supported

Attrib

Supported

Not Supported

Background

Supported

Supported

BoundaryPolydraw

Supported

Not Supported

Circle

Supported

Supported

Dimension

Supported

Not Supported

Ellipse(Filled and Outline)

Supported

Supported

Hatch

Not Supported

Not Supported

Image

Not Supported

Not Supported

Insert

Supported

Not Supported

Leader

Supported

Not Supported

Lines

Supported

Supported

Mline

Supported

Not Supported

Mtext

Supported

Not Supported

Polygons

Supported

Not Supported

Polyline

Supported

Supported

Polytriangle

Supported

Not Supported

PureLine

Supported

Not Supported

PurePolygon

Supported

Not Supported

PurePolyline

Supported

Not Supported

Segment

Supported

Not Supported

Spline

Supported

Not Supported

Text

Supported

Supported

Vertex

Supported

Not Supported

Wpolyline

Supported

Not Supported

3DFace

Supported

Not Supported

3DSolid

Supported

Not Supported

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 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, VEC - LEADTOOLS Vector Dump Format, VPG - WordPerfect Vector Format, WMF - Windows Metafile Formats, WMZ - Compressed Windows Metafile Format, E00 - ArcInfo Interchange File Format, MIF - MapInfo Interchange File Format.

Platforms

Windows 2000 / XP/Vista