DWG to PDF ActiveX Control

Try or Buy:

The DWG to PDF 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
Price (USD)
Lifetime license +1 year update
DWG to PDF ActiveX Control
One developer license
Try Buy
$990.00
DWG to PDF ActiveX Control
Distribution license
Try
Please contact us
View DWG, DXF and DWF in versions from R2.5 to 2015. Works independently of AutoCAD. Create PDF file with or without Model space. Create an individual PDF file per layout. Support all Standard and customize output paper size. Batch mode supported. 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 PDF ActiveX Control

DWG2PDF-X, an ActiveX control letting you convert dwg to pdf, dxf to pdf, dwf to pdf directly, no AutoCAD required.

 

Steps to use this control

Step 1

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

DWG2PDF-X(32 bit)     DWG2PDF-X(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 DWGTOPDFX.dll or DWGTOPDFX64.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 DWGTOPDFX.dll or DWGTOPDFX64.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

Width

specifing the output PDF file width , unit is millimeter

Property Let Width As Double

No parameters

 

Height

specifing the output PDF file Height , unit is millimeter.

Property Let Height As Double

No parameters

 

ColorMode

Set the background color  of the PDF file.

Property Let ColorMode As Long

No parameters

Set Colormode Value as AutoCAD colorindex.

 

InputFile

specifing the input drawing file that want to be conveted.

Property Let InputFile As String

No parameters

 

DPI

Set PDF DPI (dots per inch ) value, the default value is 100.

Property Let DPI As Long

No parameters

Example

VB script example:

Dim obj
Set obj= CreateObject("DWGTOPDFX.ConvertPDF")

obj.Width = 250 'uint is mm
obj.Height = 150 'uint is mm
obj.ColorMode = 1 '1--white&black 0--256color mode

Obj.DPI = 300

obj.AddFontPath "D:\Program Files\AutoCAD 2005\Fonts"
obj.InputFile = "E:\tempaa\44650-39b.dwg"
obj.PsPath = "c:\windows\system32\ps"
obj.Convert "E:\tempaa\44650-39b1.pdf"

 

PenWidth

specifing the pen width of the color, unit is millimetre.

Property Get/Let PenWidth(nPenWidth As Long) As Double
Example

VB script example:

Dim obj
Set obj= CreateObject("DWGTOPDFX.ConvertPDF")

obj.Width = 250 'uint is mm
obj.Height = 150 'uint is mm
obj.ColorMode = 1 '1--white&black 0--256color mode

obj.AddFontPath "D:\Program Files\AutoCAD 2005\Fonts"
obj.InputFile = "E:\tempaa\44650-39b.dwg"

obj.PenWidth(1) = .1 'set line width, unit in mm
obj.PenWidth(2) = .1 'set line width, unit in mm
obj.PenWidth(3) = .1 'set line width, unit in mm
obj.PenWidth(4) = .1 'set line width, unit in mm
obj.PenWidth(5) = .1 'set line width, unit in mm

obj.PsPath = "c:\windows\system32\ps"
obj.Convert "E:\tempaa\44650-39b1.pdf"

 

PsPath

specified the ps path.

Property Let PsPath As String

No parameters

Must setting PsPath before using convert method.

 

AddFontPath

Add a directory to the folder list in which DWG2PDFX searches for shx font file.

Sub AddFontPath(szFontPath As String)
Example

VB script example:

Dim obj
Set obj= CreateObject("DWGTOPDFX.ConvertPDF")

obj.Width = 250 'uint is mm
obj.Height = 150 'uint is mm
obj.ColorMode = 1 '1--white&black 0--256color mode

obj.AddFontPath "D:\Program Files\AutoCAD 2005\Fonts"
obj.InputFile = "E:\tempaa\44650-39b.dwg"

obj.PenWidth(1) = .1 'set line width, unit in mm
obj.PenWidth(2) = .1 'set line width, unit in mm
obj.PenWidth(3) = .1 'set line width, unit in mm
obj.PenWidth(4) = .1 'set line width, unit in mm
obj.PenWidth(5) = .1 'set line width, unit in mm

obj.PsPath = "c:\windows\system32\ps"
obj.Convert "E:\tempaa\44650-39b1.pdf"

 

ViewCount

Get the drawing's layout count.

Property Get ViewCount As Long

No parameters

Use Viewcount after the method InputFile.

Example

VB script example:

Dim objImage
Set objImage = CreateObject("DWGTOPDFX.ConvertPDF")

objImage.Width = 1024
objImage.Height = 768
'objImage.Background = 0
objImage.InputFile = "d:\aa.dwg" '"8th floor furniture.dwg"

objImage.Convert "e:\testa.pdf"

For I=1 to objImage.ViewCount
strViewName = objImage.ViewName(I)

strOutput = strViewName&".pdf" 'output file name, include path
objImage.ConvertView strOutput, strViewName
Next
If Err.Number < 0 Then
MsgBox Err.Description
End If

 

ViewName

Get layout name by layout index.

Property Get ViewName(nIndex As Long) As String

Use Viewcount after the method InputFile.

 

Convert

Convert the drawing merge all layout into a single PDF file.

Sub Convert(szoutFile As String)

 

ConvertView

Convert specified layout in the drawing to PDF file.

Sub ConvertView(szOutputFileName As String, view)

Use convertView after the method InputFile.

 

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>>