Home > Browse software > DWG2ImageX

DWG2ImageX 2.0

DWG PDF Converter
File Size :5.86 MB
Price :$495
Browse Category : DWG PDF Converter
Free download

Introduction:

DWG2ImageX is an ActiveX control let you convert DWG/DXF file into GIF, JPEG, BMP, PNG directly, without need of AutoCAD.Support AutoCAD2005 foramt.

Sample Code:

Dim
objImage

On Error Resume Next
Set objImage=
CreateObject("DWG2ImageX.Converter")

objImage.Width =
1024
objImage.Height = 768
objImage.ImageFormat = 2 '1--jpeg, 2--gif
objImage.InputFile = "c:\My
Drawings\8th floor furniture.dwg"
MsgBox objImage.Version 'Get the drawing file version.

MsgBox "Total "&
objImage.ViewCount &" Views"
For I=1 to objImage.ViewCount
strViewName =
objImage.ViewName(I)
MsgBox "Converting view: "& strViewName&
"..."
nWidth = objImage.ViewWidth(I)
nHeight=
objImage.ViewHeight(I)
MsgBox "Width="&nWidth&"
Height="&nHeight
strOutput = "c:\Output\"&strViewName

objImage.Convert strOutput, strViewName
Next

If
Err.Number < 0 Then
MsgBox
Err.Description
End
If

Properties


InputFileSpecify the file to be converted.
WidthSet output image width in pixels.
HeightSet output image height in pixels.
BackgroundSet background of output image.
ImageFormatSet output image format.
ZoomTypeSet zoom type.


ViewCountGet the views count in the drawing file.
ViewNameGet the view name by index.
ViewWidthGet the view width by index.
ViewHeightGet the view height by index.
VersionGet version of the file.

Methods

ConvertConvert the drawing file to a Image file.
AddFontPathAdd AutoCAD font support path.

Version Support:

From AutoCAD R9 files to current version AutoCAD 2010 files;

Support Languages:

Any programming languages that supports COM, such as Visual C++, VB, Delphi,
FoxPro, VBScript, JavaScript and etc.

Screenshot:

DWG2ImageX
Tags:activex control, converter, dwg, dxf, dwf
Added on : 1/26/2010 9:25:00 AM

See Also

  • DWGViewX
  •  (DWGViewX is a dwg viewer ActiveX control.)
  • IMacsoft DVD Ripper Suite for Mac
  •  (iMacsoft DVD Ripper Suite for Mac is powerful and easy to use DVD ripper and video conversion for Mac OS X (including Mac OS X 10.6 Snow Leopard, Mac Intel and Mac PowerPC) users.)
  • RZ Video Converter
  •  (Best Video Converters for iPod, iPhone, PSP, Zune, etc. Convert any video audio)
© MediaToolbox.org all rights reserved.