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
DWG2ImageX is a Control Component lets you convert DWG/DXF/DWF file into GIF, JPEG, BMP, PNG directly.
Steps to use this control
Help For Developers
Specify the file to be converted
Property Let InputFile As StringSet output image width in pixels
Property Let Width As LongSet output image height in pixels
Property Let Height As LongSet background of output image,1~255, same as AutoCAD color index
Property Let Background As LongSet output image format.
0-- BMP
1-- JPEG
2-- GIF
3-- PNG
4-- TIFF
Set Zoom Type
1-- Zoom All
2-- Zoom Extend
Property Let ZoomType As Integer
Get the view counts in the dwg file.
Property Get ViewCount As Long
Get the view name by index.
Parameters
nIndex
index of view.
Property Get ViewName(nIndex As Long) As String
Get the view width by index
Parameters
view
View name or view index.
Property Get ViewWidth(view) As Double
Get the view height by index
Parameters
view
View name or view index.
Property Get ViewHeight(view) As Double
Get the version, possible return value: R9, R10, R11/12, R13, R14, R2000, R2002, R2004, Unknown
Property Get Version As String
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
Set output image's color
0-- color;
1-- white and black
Property Set ColorMode As Long
Add AutoCAD font path. The converter will search font file in these paths
Parameters
szPath
Where AutoCAD font file located.
Convert the drawing file to image.
Sub Convert(szOutputFileName As String, view)
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? |
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.