Doddle    DWGcolumn.dll    DWGicon.dll    ScanDir    TDwgPreview    c_prev    Linnet    Slide2    PLFC    DefaultUser    Moonstruck    Wieldy

TDwgPreview component for
Delphi 2, 3, 4, 5, and 6

Version 1.1
32-Bit for Windows
© 1998, 1999, 2000, 2002
Freeware
Page last modified: May 8, 2006
10 hits this month


Introduction

TDwgPreview is a Delphi 2 component (also available as D3, D4, D5 and D6 component) that displays an AutoCAD drawing's preview. This is possible for AutoCAD R13, R14, R2000/2002 and R2004 drawings only.

AutoCAD 13 supports previews in BMP and WMF format. So does TDwgPreview.

AutoCAD 14 always saves previews in BMP format.

AutoCAD 2000/2002/2004 always saves previews in BMP format.


Properties

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.

 


Events

There is not much to say here.

There are a few events, nothing exciting.


Download

TDwgPreview is freeware. By downloading the installation file you accept the license agreement.

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 Chistian Kästner.
TDwgPreview for Delphi 5: TDwgPrv5.zip (6.5 kB) thanks to Kurt Decock.
TDwgPreview for Delphi 6: TDwgPrv6.zip (7.1 kB)