Home | Freeware | GIMPS | 3D | Justus | Links |
TDwgPreview is a Delphi 2 component (also available as D3 and D4 component) that displays an AutoCAD drawing's preview. This is possible for AutoCAD R13, R14, and R2000 drawings only.
AutoCAD 13 supports previews in BMP and WMF format. So does TDwgPreview.
AutoCAD 14 always saves previews in BMP format.
AutoCAD 2000 always saves previews in BMP format.
As you can see, even at design time the TDwgPreview component accepts a Filename and displays a preview. The Revision property will be set accordingly. If Inverse is True, the background is set to black, otherwise the background is white. Inverse and Stretch also work at design time. The Result property will show whether the drawing file contains a preview in BMP format (rBmp), WMF format (rWmf), both formats (rBmpWmf), or none (rNone). If a drawing contains both a BMP and a WMF, you can set the Result property to your preference before setting Filename. If Stretch is set to False, Height and Width reflect the size of the preview. |
There is not much to say here. There are a few events, nothing exciting. |
Permission to use, copy, and distribute this software for any purpose and without fee is hereby granted, provided that the copyright notice appears in all copies and that both that copyright notice and this permission notice appear in all supporting documentation.
Octocad makes no warranty, including but not limited to any implied warranties of merchantability or fitness for a particular purpose, regarding the software and accompanying materials. The software and accompanying materials are provided solely on an as-is basis.
In no event shall Octocad be liable to any special, collateral, incidental, or consequential damages in connection with or arising out of the use of the software or accompanying materials.
Please download here:
TDwgPreview for Delphi 2:
TDwgPrv2.zip (6.8 kB)
TDwgPreview for Delphi 3:
TDwgPrv3.zip (5.7 kB) thanks to
Cliff W.
Estes.
TDwgPreview for Delphi 4:
TDwgPrv4.zip (8.8 kB) thanks to
Christian Kästner.