DWG to Image ActiveX Control

Try or Buy:

The DWG to Image ActiveX Control is licensed as a DEVELOPER LICENSE and DISTRIBUTION LICENSE.

One Developer License permits one (1) developer to create one Derived Work using the Product. It does not include the right for access by concurrent users. A derived work is a program that is designed for and is used by a single user.

Distribution License permits you to distribute the Derived Work to multiple users. But at least one developer license is required for the program distribution. Please contact us for more information.

At any type of license, your Derived Works should not compete with AutoDWG product directly.

Try it Free!
&
Buy online
DWG to Image ActiveX Control
One developer license

DWG to Image ActiveX Control
Distribution license

Single user license price (USD)
Lifetime license +1 year update
$860.00
Please contact us
Convert DWG, DXF and DWF file to Image file
You may add font path and xref path
You may set image resolution and image paper size
Works independently of AutoCAD.
Support AutoCAD drawing in versions from R9 to 2015
Support multiple languages: Visual C++, VB, Delphi, FoxPro, VBScript, JavaScript and etc.
Distribute the Derived Work to multiple users No
Download & Buy

Payment Method:

Place order

  • Credit card
  • Paypal
  • Bank/Wire Transfer with Invoice - USD Only ($10.00 USD fee)
  • Check/Money Order ($2.50 USD fee)
  • Fax - Credit Card
  • Purchase Order ($10.00 USD fee)

 

Notice: Our order system is processed by Mycommerce.com

 

Order by fax
Please order online first, then you’ll get instructions from Mycommerce.com to continue.

 

Order by phone(24/7 online) 
     1-877-353-7297 (toll free in the US and part of Canada)
     1-952-646-5331 (international toll line). 

You can call the phone number above (24 hours a day 7 days a week) to place order by phone.

 

Registration Code
The code will be automatically emailed to you in 5 minutes after the purchase. By entering the unlock code into the same trial version you have already installed, the program will start working as full version, all trial limitations will be removed at once. There is no need to download again if you already have the trial version installed.

 

CD & EDS
CD is available for the purchase along with the software, it is optional and takes extra fees, and 1 week up to 3 weeks for the delivery especially if you are located outside US. Only one CD can be added in an order. Extended download service (EDS) is a service of MyCommerce.com, it is optional and removable from your order. Please notice CD and EDS download copies still need enter registration code to remove trial limit.

 

TAX
Purchasing online may not be tax free in your region, applicable sales tax is automatically calculated for product(s) and shipping costs. For tax exemption instructions, please contact us for more information.
Email: info@autodwg.com

How to Use?

DWG to Image ActiveX Control

DWG2ImageX is an ActiveX control lets you convert DWG/DXF/DWF file into GIF, JPEG, BMP, PNG directly.

 

Steps to use this control

Step 1 Please download the 32bit or 64bit version program according to your own requirement

DWG2ImageX(32 bit)     DWG2ImageX(64 bit)

Step 2 Please unzip the program to the destination folder

Step 3 Register the control

Open the program folder and double click the file reg.bat to register the DWG2ImageX.dll or DWG2ImageX64.dll.

If you run Win7 and the reg.bat file cannot work, please click start button>>All programs>>Accessories, then find the "Command Prompt" and right click it to choose "Run as Administrator" option to open the command prompt, then try to use the command regsvr32 to register the DWG2ImageX.dll or DWG2ImageX64.dll.

Step 4 Do a test

Prior try out the active-x program with your own application, please try to give it a very first test with the example code enclosed with the free trial package, please make sure it will work as expected and then try out with other environments.

 

Help For Developers

InputFile

Specify the file to be converted

Property Let InputFile As String

 

Width

Set output image width in pixels

Property Let Width As Long

 

Height

Set output image height in pixels

Property Let Height As Long

 

Background

Set background of output image,1~255, same as AutoCAD color index

Property Let Background As Long

 

ImageFormat

Set output image format. 

0-- BMP
1-- JPEG
2-- GIF
3-- PNG
4-- TIFF

Property Let ImageFormat As Integer

 

ZoomType

Set Zoom Type 

1-- Zoom All
2-- Zoom Extend

Property Let ZoomType As Integer

 

ViewCount

Get the view counts in the dwg file.

Property Get ViewCount As Long

 

ViewName

Get the view name by index. 

Parameters
nIndex

index of view.

Property Get ViewName(nIndex As Long) As String

 

ViewWidth

Get the view width by index

Parameters
view

View name or view index.

Property Get ViewWidth(view) As Double

 

ViewHeight

Get the view height by index 

Parameters
view

View name or view index.

Property Get ViewHeight(view) As Double

 

Version

Get the version, possible return value: R9, R10, R11/12, R13, R14, R2000, R2002, R2004, Unknown

Property Get Version As String

 

PenWidth

Set pen width ( line width)  in pixels, default value is 1.

Parameters
colorIndex

AutoCAD color index, 0~255, 0-black, 7-white

Property Get/Set PenWidthy(colorIndex As Long) As Long

 

ColorMode

Set output image's color

0-- color;
1-- white and black

Property Set ColorMode As Long

 

AddFontPath

Add AutoCAD font path. The converter will search font file in these paths 

Parameters
szPath

Where AutoCAD font file located.

 

Convert

Convert the drawing file to image.

Sub Convert(szOutputFileName As String, view)

 

Sample Code (in VB) for your reference:

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

Reference:

System Requirements:

OS:Compatible with XP, Vista, Win7, Win8
RAM: 1024MB or greater, executable program takes 27Mb, loaded with a drawing file will take more RAM depends on the size of drawing file.
HD: 40MB free hard drive spaces to install

 

Technical Support:

Free technical support is available to all customers, any question please contact: info@autodwg.com.

 

Update:

You’ll enjoy one year free update service since you buy the software. After expiry, you can continue using the software but no more updates will be available unless you purchase.

You may also be interested in these items:

  • PDF to DWG Converter
    Help you convert PDF file into DWG, DXF file. high quality, ease of use.
  •  


    Learn More>>

  • DWGSee DWG Viewer
    A lite and fast dwg viewer, browse, view, redline, print DWG, DXF, DWF files.
  • Learn More>>

  • DWG to PDF Converter
    Convert DWG and DXF files to PDF files directly without need of AutoCAD.
  • Learn More>>