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
DWG2PDF-X, a control component allows you to convert dwg to pdf, dxf to pdf, dwf to pdf directly, no AutoCAD required.
Steps to use this control
Help For Developers
specifing the output PDF file width , unit is millimeter
Property Let Width As DoubleNo parameters
specifing the output PDF file Height , unit is millimeter.
Property Let Height As DoubleNo parameters
Set the background color of the PDF file.
Property Let ColorMode As LongNo parameters
Set Colormode Value as AutoCAD colorindex.
specifing the input drawing file that want to be conveted.
Property Let InputFile As StringNo parameters
Set PDF DPI (dots per inch ) value, the default value is 100.
Property Let DPI As LongNo parameters
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.OutWithTTF = 1 '1--Convert ttf to searchable 0--Convert ttf to shape
obj.AddFontPath "D:\Program Files\AutoCAD 2005\Fonts"
obj.InputFile = "E:\tempaa\44650-39b.dwg"
obj.PsPath = "C:\Windows\system32\PS\lib;C:\Windows\system32\PS\fonts"
obj.Convert "E:\tempaa\44650-39b1.pdf"
specifing the pen width of the color, unit is millimetre.
Property Get/Let PenWidth(nPenWidth As Long) As DoubleVB 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\lib;C:\Windows\system32\PS\fonts"
obj.Convert "E:\tempaa\44650-39b1.pdf"
specified the ps path.
Property Let PsPath As StringNo parameters
Must setting PsPath before using convert method.
Add a directory to the folder list in which DWG2PDFX searches for shx font file.
Sub AddFontPath(szFontPath As String)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\lib;C:\Windows\system32\PS\fonts"
obj.Convert "E:\tempaa\44650-39b1.pdf"
Get the drawing's layout count.
Property Get ViewCount As LongNo parameters
Use Viewcount after the method InputFile.
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
Get layout name by layout index.
Property Get ViewName(nIndex As Long) As StringUse Viewcount after the method InputFile.
Convert the drawing merge all layout into a single PDF file.
Sub Convert(szoutFile As String)Convert specified layout in the drawing to PDF file.
Sub ConvertView(szOutputFileName As String, view)Use convertView after the method InputFile.
FAQ:
VBS runtime error, how to do? |
dll registration failed, how to fix it? |
Will this software work with 64 bit computer? |
How to convert ttf to searchable text in the pdf? |
Do you offer customized service? |
How to update the product? |
How to download the old program? |
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
Free technical support is available to all customers, any question please contact: info@autodwg.com.
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.
PDF to DWG Converter
Help you convert PDF file into DWG, DXF file. high quality, ease of use.
DWGSee DWG Viewer
A lite and fast dwg viewer, browse, view, redline, print DWG, DXF, DWF files.
DWG to PDF Converter
Convert DWG and DXF files to PDF files directly without need of AutoCAD.