I'm working with AutoCAD 2012 x64 and I need a control to view DWG files selected in my ListView. I tried using DWG True View 2013 and it worked well, but this is more than my requirement. My requirement is to simply show a preview of the drawing. But DWGTrue View is an advance control and is not standalone i.e. Users have to download and install its full installer.
I'm seeking help from Kean's blog post but this might require some customization to code in order to fix TOP View and do a Zoom Extent: Currently not succeeded.
I also seek using DWGThumnailviewer.ocx referenced in this post but unfortunately, I couldn't find DWGThumnailViewer.ocx with AutoCAD 2012. I guess it was discontinued.
Other option could be to generate a raster graphic file (*.jpg, *.gif, *.png, *.bmp) and display that into a picture box. I tried some code from this thread and this one but at some small dwg files, it is unable to read bytes.
Any suggestions or help, would really be appreciated.
Thanks a bunch.
DwgThumbnail.ocx is not discontinued.
Here is the blog post to download the latest version and it should also work with 64 bit systems:
If you do not want the registration hassles of an ActiveX control, then can try the sample code provided in this post @swamp :
Access a broad range of knowledge to help get the most out of your products and services.