Save as *.wmf

Discuss and ask questions about ABViewer.

Moderators: SDS, support, admin

Post Reply
chensie
Posts: 3
Joined: 24 Feb 2005, 12:16

Save as *.wmf

Post by chensie » 13 Jan 2006, 06:40

When I using ABViewer save *.dwg file as *.wmf file, the
file is VERY BIG than using AutoCAD output as *.wmf, why?

support
Posts: 3271
Joined: 30 Mar 2005, 11:36
Contact:

Post by support » 13 Jan 2006, 14:31

Hello,

Thank you for the question. We need to perform some testings for finding out exact cause of this difference.

Sergey.

please post questions to the forum or write to support@cadsofttools.com

support
Posts: 3271
Joined: 30 Mar 2005, 11:36
Contact:

Post by support » 13 Jan 2006, 17:49

Hello,

The reason of the difference is in different drawing methods.
For example we use MoveTo-LineTo commands when drawing SHX texts (see DXFImage.pas->TsgDXFImage.DrawText in CAD Import VCL package available on: http://cadsofttools.com/download/CADImportVCL.zip). AutoCAD uses Polyline command. It means that when drawing a simple SHX text ABViewer uses in several times more API commands then AutoCAD. Windows Metafile consists of a set of such commands. Therefore ABViewer makes WMF much larger then AutoCAD does.

That is a very useful remark for us. Thank you very much for your help. We'll take into account this difference and improve our products.

Sergey.

please post questions to the forum or write to support@cadsofttools.com

Post Reply