Log in
Username
Password
Register
I forgot my password

We ship software all across Europe
Prijslijst
Specials
Shopping Cart
Downloads
FAQ
Sitemap
Licensedesk
Links
Partners
Dutch
We ship software all across Europe Nederlands
We ship software all across Europe
Products    
  Home > Producten > Graphics > AutoCAD > DWG2Image ActiveX
 
 
DWG2Image ActiveX Web site AutoDWG

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

Online Demo

Online demo let you upload your dwg/dxf files, and then convert it to gif, jpg, png  image on the fly, click here to try

Online Demo

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
InputFile Specify the file to be converted.
Width Set output image width in pixels.
Height Set output image height in pixels.
Background Set background of output image.
ImageFormat Set output image format.
ZoomType Set zoom type.
   
ViewCount Get the views count in the drawing file.
ViewName Get the view name by index.
ViewWidth Get the view width by index.
ViewHeight Get the view height by index.
Version Get version of the file.

Methods
Convert Convert the drawing file to a Image file.
AddFontPath Add AutoCAD font support path.

Version Support:
From AutoCAD R9 files to current AutoCAD 2012

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

   

Order

Download
  Trial version

Print this pagePrint this page

Features:
  • 2000/XP/Vista and Windows 7
 
Graphics | Multimedia | Internet | Utilities | ZIP | Photo/Video | CAD | Conversion | FTP | PDF