How to Use?

System Requirements:

OS:Compatible with XP, Vista, Win7, Win8, Win10
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

DWG to Image Control Component

DWG2ImageX is a Control Component lets you convert DWG/DXF/DWF file into GIF, JPEG, BMP, PNG directly.

Steps to use this control

Step 1 Please download the 32bit/64bit version program

DWG2ImageX(32bit/64bit)

Step 2 Please unzip the program to the destination folder

Step 3 Register the control on your system

Please go to the program folder and double click the file reg.bat to register the DWG2ImageX.dll or DWG2ImageX64.dll on your system.

If you are running Win7/Win8 and the reg.bat file won't 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 window, then try to use the command regsvr32 to register the DWG2ImageX.dll or DWG2ImageX64.dll.

Step 4 Give it a try

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 within the free trial package, please make sure it will work as expected and then try out with your own program.

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

FAQ:

 
     Will this software work with 64 bit computer?

 
     How to update the product?
     How to download the old program?

 
     How do I complete activation or registration?
     What shall I do, if the registration code is invalid?
     How do I retrieve the registration code of the latest version for reinstall?
     How do I get a new registration code with my upgrade?
     What to do if I fail to download/install the product on PC?
     How to transfer my license to a new PC?
     How to uninstall your program?
     Do I need to buy an additional seat to use this both at home and at work?

 
     What is your policy on refunds?
     What is your policy on Licenses?
     What is your Upgrade Policy?
     What is a "1-Year Free update"?
     If I purchased a single-user license, can I use the program on another computer?
     Can I get technical support for my Free Trial?
     What does download protection service mean?
     Can I try your products before I buy them?
     Is my purchase on your Website secure?
     Where can I find a safe discount program for your products?
     After I submit a ticket, how long before Support replies to me?
     Can I get your products on CD?

 
     How do I get an invoice or receipt?
     How to change license email if there is typo when I place the order?
     Can I cancel my order after placing it?
     If I buy the wrong product by mistake, can I exchange it?
     How will you tell me if my order was processed?
     Why I haven't received the refund yet?
     Do you charge VAT on my purchase?
     How do I get a refund of taxes paid?
     How do I pay for my purchase with my credit card or bank card?
     Why was the website price and what I paid different?
     How do I fix a "double charge"?
     What ways can I pay for my purchase?
     How to get a refund of Download Protection Service separately?

Reference:

System Requirements:

OS:Compatible with XP, Vista, Win7, Win8, Win10
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>>