With help on this link
http://www.visiblevisual.com/index.php/AutoCad-VB/VBA/Preview-DWGfiles-using-the-DWGThumbnail.html
I wrote my code,
but my result- the dwg preview is very small I only white screen without figures which I wrote in it.
2) how to resize and fit the image into the icon ? (when i press command button I would like to see maximum
image in icon )
Thank You for help in advance
Hi,
>> when i press command button I would like to see maximum image in icon
First, I have not tried your code and not the plugin, but just as input: the input for the plugin is the filename, so it seems that the Control is loading the DWG you give by filename, and it has nothing to do with "what you see on your display" ... as long as you have not saved your drawing.
So try the following steps:
Good luck, - alfred -