Full Name |
DWF (Design Web Format) |
Format ID |
ImGearFormats.DWF |
File Extension(s) |
*.dwf, *.w2d, *.w3d |
Data Type |
Vector/CAD image |
Data Encoding |
Binary |
Multi-Page Support |
Yes |
Alpha Channel Support |
No |
Metadata Update Support |
No |
ImageGear Platforms Support |
Win32, .NET |
ImageGear Supported Versions
ImageGear Supported Features
- IGFilterFormatFlags.DETECTSUPPORT - autodetection
- IGFilterFormatFlags.PAGEREADSUPPORT - single page file reading
- IGFilterFormatFlags.MPAGEREADPSUPPORT - multi-page file reading
- IGFilterFormatFlags.PAGEINSERTSUPPORT - single-page file writing
ImageGear Read Support
- ImGearCompressions.NONE - Vector/CAD data
ImageGear Write Support
- ImGearCompressions.NONE - Vector/CAD data
ImageGear Filter Control Parameters
Filter Control Parameter |
Type |
Default Value |
Available Values |
Description |
Width |
Long |
512 |
Any positive value |
Defines the DIB width of the loaded image. The DIB height is calculated using the file's scale factors. |
Comments
DWF is an open format developed by AutoDesk (Design Web Format). Unlike DWG and DXF, DWF is focused on viewing only. It is intended to be used for publishing 2D and 3D CAD drawings so they can be easily viewed without requiring the use of CAD software.
DWF Features Supported for Reading
ImageGear uses DWFToolkit for reading DWF file contents. The following tables use DWFToolkit terms to list DWF features supported by ImageGear:
2D Features
DWF Toolkit Object |
Supported Attributes |
Imported into ImageGear as: |
WT_Polygon |
Vertices |
ImGearVectEntities.POLYLINE entity. |
WT_Polyline |
Vertices |
ImGearVectEntities.POLYLINE entity. |
WT_Color |
RGBA color |
Current color for creating ImGearVectAttrib.DRAWCOLOR, ImGearVectAttrib.FILLCOLOR attributes and a color of ImGearVectorTextObject object. |
WT_Background |
RGBA color |
Background color for ImGearVectorView object. |
WT_Text |
Text string
Bounds
Position |
ImGearVectEntities.TEXT entity. |
WT_Text_HAlign |
Horizontal alignment |
Horizontal alignment for ImGearVectEntities.TEXT entity. |
WT_Text_VAlign |
Vertical alignment |
Vertical alignment for ImGearVectEntities.TEXT entity. |
WT_Font |
Font name
Font height
Font rotation
Font spacing
Font width scale
Font is bold flag
Font is italic flag
Font is underlined flag |
Used for creating ImGearVectorFont object. |
WT_Line_Weight |
Weight |
Used as a thickness when creating ImGearVectAttrib.THICKNESS attribute. |
WT_Fill |
Fill mode |
Used internally to turn filling mode on/off. |
WT_Filled_Ellipse |
Start angle
End angle
Rotation
Major axe
Minor axe
Center X position
Center Y position |
Either ImGearVectEntities.ELLIPSE or ImGearVectEntities.ARC entity. |
WT_Outline_Ellipse |
Start angle
End angle
Rotation
Major axe
Minor axe
Center X position
Center Y position |
Either ImGearVectEntities.ELLIPSE or ImGearVectEntities.ARC entity. |
WT_Polytriangle |
Vertices |
ImGearVectEntities.GEOMETRY entity. |
WT_Visibility |
Visibility |
Affects the visibility of entities. |
3D Features
ImageGear Vector Entities Supported for Writing to DWF Format
All vector data is saved as 2D stream. 3D coordinates are projected to 2D surface during saving, according to the active view transformation.