<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Acad2010 thumbnail in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/acad2010-thumbnail/m-p/2672312#M65705</link>
    <description>I have a programm in Autocad 2009 that change something in a series of Dwg &lt;BR /&gt;
and when i make closeandsave(filename) store also the thumbnail.&lt;BR /&gt;
I see the preview in explorer.&lt;BR /&gt;
Now i have install Acad2010 and recompile the program with the new &lt;BR /&gt;
library,but the     closeandsave(filename)  don't store the thumbnail.&lt;BR /&gt;
Some help?&lt;BR /&gt;
thanks in advance.&lt;BR /&gt;
GPQ</description>
    <pubDate>Fri, 23 Apr 2010 13:57:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-04-23T13:57:00Z</dc:date>
    <item>
      <title>Acad2010 thumbnail</title>
      <link>https://forums.autodesk.com/t5/net-forum/acad2010-thumbnail/m-p/2672312#M65705</link>
      <description>I have a programm in Autocad 2009 that change something in a series of Dwg &lt;BR /&gt;
and when i make closeandsave(filename) store also the thumbnail.&lt;BR /&gt;
I see the preview in explorer.&lt;BR /&gt;
Now i have install Acad2010 and recompile the program with the new &lt;BR /&gt;
library,but the     closeandsave(filename)  don't store the thumbnail.&lt;BR /&gt;
Some help?&lt;BR /&gt;
thanks in advance.&lt;BR /&gt;
GPQ</description>
      <pubDate>Fri, 23 Apr 2010 13:57:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/acad2010-thumbnail/m-p/2672312#M65705</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-23T13:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: Acad2010 thumbnail</title>
      <link>https://forums.autodesk.com/t5/net-forum/acad2010-thumbnail/m-p/2672313#M65706</link>
      <description>In AutoCAD 2010 or later, you can call the&lt;BR /&gt;
Document's CreatePreviewImage() method,&lt;BR /&gt;
and assign the result to the Database's&lt;BR /&gt;
ThumbnailBitmap property.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD&lt;BR /&gt;
Supporting AutoCAD 2000 through 2011&lt;BR /&gt;
&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");&lt;BR /&gt;
&lt;BR /&gt;
"GPaolo" &lt;GPQ&gt; wrote in message &lt;BR /&gt;
news:6379160@discussion.autodesk.com...&lt;BR /&gt;
I have a programm in Autocad 2009 that change something in a series of Dwg&lt;BR /&gt;
and when i make closeandsave(filename) store also the thumbnail.&lt;BR /&gt;
I see the preview in explorer.&lt;BR /&gt;
Now i have install Acad2010 and recompile the program with the new&lt;BR /&gt;
library,but the     closeandsave(filename)  don't store the thumbnail.&lt;BR /&gt;
Some help?&lt;BR /&gt;
thanks in advance.&lt;BR /&gt;
GPQ&lt;/GPQ&gt;</description>
      <pubDate>Fri, 23 Apr 2010 21:45:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/acad2010-thumbnail/m-p/2672313#M65706</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-23T21:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Acad2010 thumbnail</title>
      <link>https://forums.autodesk.com/t5/net-forum/acad2010-thumbnail/m-p/2672314#M65707</link>
      <description>Yes,i have see it and i have already try it,but  when i save in Acad i obtain a thumbnail with white background color  (in explore) when i create thumbnail by program with the function  "CreatePreviewImage" i obtain a thumbnail indefinite and with black background color like my background color in Acad.&lt;BR /&gt;
Any other suggestion?&lt;BR /&gt;
Thanks and good week-end.&lt;BR /&gt;
GPQ</description>
      <pubDate>Sat, 24 Apr 2010 07:04:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/acad2010-thumbnail/m-p/2672314#M65707</guid>
      <dc:creator>gpq</dc:creator>
      <dc:date>2010-04-24T07:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: Acad2010 thumbnail</title>
      <link>https://forums.autodesk.com/t5/net-forum/acad2010-thumbnail/m-p/2672315#M65708</link>
      <description>The thumbnail stored in the database should be the&lt;BR /&gt;
same as the one returned by CapturePreviewImage().&lt;BR /&gt;
&lt;BR /&gt;
It's possible that the background color is manipulated&lt;BR /&gt;
when Explorer requests the thumbnail.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD&lt;BR /&gt;
Supporting AutoCAD 2000 through 2011&lt;BR /&gt;
&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");&lt;BR /&gt;
&lt;BR /&gt;
&lt;GPQ&gt; wrote in message &lt;BR /&gt;
news:6379790@discussion.autodesk.com...&lt;BR /&gt;
Yes,i have see it and i have already try it,but  when i save in Acad i obtain a &lt;BR /&gt;
thumbnail with white background color  (in explore) when i create thumbnail by &lt;BR /&gt;
program with the function  "CreatePreviewImage" i obtain a thumbnail indefinite &lt;BR /&gt;
and with black background color like my background color in Acad.&lt;BR /&gt;
Any other suggestion?&lt;BR /&gt;
Thanks and good week-end.&lt;BR /&gt;
GPQ&lt;/GPQ&gt;</description>
      <pubDate>Sat, 24 Apr 2010 14:37:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/acad2010-thumbnail/m-p/2672315#M65708</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-24T14:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Acad2010 thumbnail</title>
      <link>https://forums.autodesk.com/t5/net-forum/acad2010-thumbnail/m-p/2672316#M65709</link>
      <description>If you're using AutoCAD 2011, then don't bother with this method.&lt;BR /&gt;
&lt;BR /&gt;
Autodesk apparently has broken this method an if you call it&lt;BR /&gt;
AutoCAD will stop responding.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD&lt;BR /&gt;
Supporting AutoCAD 2000 through 2011&lt;BR /&gt;
&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");&lt;BR /&gt;
&lt;BR /&gt;
&lt;GPQ&gt; wrote in message &lt;BR /&gt;
news:6379790@discussion.autodesk.com...&lt;BR /&gt;
Yes,i have see it and i have already try it,but  when i save in Acad i obtain a &lt;BR /&gt;
thumbnail with white background color  (in explore) when i create thumbnail by &lt;BR /&gt;
program with the function  "CreatePreviewImage" i obtain a thumbnail indefinite &lt;BR /&gt;
and with black background color like my background color in Acad.&lt;BR /&gt;
Any other suggestion?&lt;BR /&gt;
Thanks and good week-end.&lt;BR /&gt;
GPQ&lt;/GPQ&gt;</description>
      <pubDate>Sat, 24 Apr 2010 21:52:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/acad2010-thumbnail/m-p/2672316#M65709</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-24T21:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Acad2010 thumbnail</title>
      <link>https://forums.autodesk.com/t5/net-forum/acad2010-thumbnail/m-p/2672317#M65710</link>
      <description>No,i use Acad2010.&lt;BR /&gt;
My Background color in Acad2010 is black like in Acad2009 and if i save the &lt;BR /&gt;
drawing by Acad the thumbnail that i see is correct.&lt;BR /&gt;
If  i save the same drawing by .net program i don't obtain the same thing.&lt;BR /&gt;
Thank's.&lt;BR /&gt;
GPQ&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Tony Tanzillo" &lt;TONY.TANZILLO&gt; ha scritto nel messaggio &lt;BR /&gt;
news:6379897@discussion.autodesk.com...&lt;BR /&gt;
If you're using AutoCAD 2011, then don't bother with this method.&lt;BR /&gt;
&lt;BR /&gt;
Autodesk apparently has broken this method an if you call it&lt;BR /&gt;
AutoCAD will stop responding.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD&lt;BR /&gt;
Supporting AutoCAD 2000 through 2011&lt;BR /&gt;
&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");&lt;BR /&gt;
&lt;BR /&gt;
&lt;GPQ&gt; wrote in message&lt;BR /&gt;
news:6379790@discussion.autodesk.com...&lt;BR /&gt;
Yes,i have see it and i have already try it,but  when i save in Acad i &lt;BR /&gt;
obtain a&lt;BR /&gt;
thumbnail with white background color  (in explore) when i create thumbnail &lt;BR /&gt;
by&lt;BR /&gt;
program with the function  "CreatePreviewImage" i obtain a thumbnail &lt;BR /&gt;
indefinite&lt;BR /&gt;
and with black background color like my background color in Acad.&lt;BR /&gt;
Any other suggestion?&lt;BR /&gt;
Thanks and good week-end.&lt;BR /&gt;
GPQ&lt;/GPQ&gt;&lt;/TONY.TANZILLO&gt;</description>
      <pubDate>Mon, 26 Apr 2010 05:55:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/acad2010-thumbnail/m-p/2672317#M65710</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-26T05:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Acad2010 thumbnail</title>
      <link>https://forums.autodesk.com/t5/net-forum/acad2010-thumbnail/m-p/2672318#M65711</link>
      <description>version Acad2009:&lt;BR /&gt;
&lt;BR /&gt;
doc.LockDocument.Dispose()&lt;BR /&gt;
&lt;BR /&gt;
doc.CloseAndSave(NomeDwg)&lt;BR /&gt;
&lt;BR /&gt;
doc.Dispose()&lt;BR /&gt;
&lt;BR /&gt;
I have replace it in Acad2010 version with :&lt;BR /&gt;
'Dim bm As Bitmap = doc.CapturePreviewImage(128, 102)        Not used&lt;BR /&gt;
&lt;BR /&gt;
'doc.Database.ThumbnailBitmap() = bm &lt;BR /&gt;
Not used&lt;BR /&gt;
&lt;BR /&gt;
doc.Database.SaveAs(NomeDwg, True, AcDbs.DwgVersion.Current, &lt;BR /&gt;
doc.Database.SecurityParameters)&lt;BR /&gt;
&lt;BR /&gt;
doc.LockDocument.Dispose()&lt;BR /&gt;
&lt;BR /&gt;
doc.CloseAndDiscard()&lt;BR /&gt;
&lt;BR /&gt;
doc.Dispose()&lt;BR /&gt;
&lt;BR /&gt;
***********************************************************&lt;BR /&gt;
Now all work fine like in Acad2009 version.&lt;BR /&gt;
&lt;BR /&gt;
Thank's Tony&lt;BR /&gt;
&lt;BR /&gt;
"Tony Tanzillo" &lt;TONY.TANZILLO&gt; ha scritto nel messaggio &lt;BR /&gt;
news:6379897@discussion.autodesk.com...&lt;BR /&gt;
If you're using AutoCAD 2011, then don't bother with this method.&lt;BR /&gt;
&lt;BR /&gt;
Autodesk apparently has broken this method an if you call it&lt;BR /&gt;
AutoCAD will stop responding.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD&lt;BR /&gt;
Supporting AutoCAD 2000 through 2011&lt;BR /&gt;
&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");&lt;BR /&gt;
&lt;BR /&gt;
&lt;GPQ&gt; wrote in message&lt;BR /&gt;
news:6379790@discussion.autodesk.com...&lt;BR /&gt;
Yes,i have see it and i have already try it,but  when i save in Acad i &lt;BR /&gt;
obtain a&lt;BR /&gt;
thumbnail with white background color  (in explore) when i create thumbnail &lt;BR /&gt;
by&lt;BR /&gt;
program with the function  "CreatePreviewImage" i obtain a thumbnail &lt;BR /&gt;
indefinite&lt;BR /&gt;
and with black background color like my background color in Acad.&lt;BR /&gt;
Any other suggestion?&lt;BR /&gt;
Thanks and good week-end.&lt;BR /&gt;
GPQ&lt;/GPQ&gt;&lt;/TONY.TANZILLO&gt;</description>
      <pubDate>Mon, 26 Apr 2010 09:31:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/acad2010-thumbnail/m-p/2672318#M65711</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-26T09:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Acad2010 thumbnail</title>
      <link>https://forums.autodesk.com/t5/net-forum/acad2010-thumbnail/m-p/2672319#M65712</link>
      <description>Great, but don't expect it to work in 2011.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD&lt;BR /&gt;
Supporting AutoCAD 2000 through 2011&lt;BR /&gt;
&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");&lt;BR /&gt;
&lt;BR /&gt;
"GPaolo" &lt;GPQ&gt; wrote in message &lt;BR /&gt;
news:6380212@discussion.autodesk.com...&lt;BR /&gt;
version Acad2009:&lt;BR /&gt;
&lt;BR /&gt;
doc.LockDocument.Dispose()&lt;BR /&gt;
&lt;BR /&gt;
doc.CloseAndSave(NomeDwg)&lt;BR /&gt;
&lt;BR /&gt;
doc.Dispose()&lt;BR /&gt;
&lt;BR /&gt;
I have replace it in Acad2010 version with :&lt;BR /&gt;
'Dim bm As Bitmap = doc.CapturePreviewImage(128, 102)        Not used&lt;BR /&gt;
&lt;BR /&gt;
'doc.Database.ThumbnailBitmap() = bm&lt;BR /&gt;
Not used&lt;BR /&gt;
&lt;BR /&gt;
doc.Database.SaveAs(NomeDwg, True, AcDbs.DwgVersion.Current,&lt;BR /&gt;
doc.Database.SecurityParameters)&lt;BR /&gt;
&lt;BR /&gt;
doc.LockDocument.Dispose()&lt;BR /&gt;
&lt;BR /&gt;
doc.CloseAndDiscard()&lt;BR /&gt;
&lt;BR /&gt;
doc.Dispose()&lt;BR /&gt;
&lt;BR /&gt;
***********************************************************&lt;BR /&gt;
Now all work fine like in Acad2009 version.&lt;BR /&gt;
&lt;BR /&gt;
Thank's Tony&lt;BR /&gt;
&lt;BR /&gt;
"Tony Tanzillo" &lt;TONY.TANZILLO&gt; ha scritto nel messaggio&lt;BR /&gt;
news:6379897@discussion.autodesk.com...&lt;BR /&gt;
If you're using AutoCAD 2011, then don't bother with this method.&lt;BR /&gt;
&lt;BR /&gt;
Autodesk apparently has broken this method an if you call it&lt;BR /&gt;
AutoCAD will stop responding.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD&lt;BR /&gt;
Supporting AutoCAD 2000 through 2011&lt;BR /&gt;
&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");&lt;BR /&gt;
&lt;BR /&gt;
&lt;GPQ&gt; wrote in message&lt;BR /&gt;
news:6379790@discussion.autodesk.com...&lt;BR /&gt;
Yes,i have see it and i have already try it,but  when i save in Acad i&lt;BR /&gt;
obtain a&lt;BR /&gt;
thumbnail with white background color  (in explore) when i create thumbnail&lt;BR /&gt;
by&lt;BR /&gt;
program with the function  "CreatePreviewImage" i obtain a thumbnail&lt;BR /&gt;
indefinite&lt;BR /&gt;
and with black background color like my background color in Acad.&lt;BR /&gt;
Any other suggestion?&lt;BR /&gt;
Thanks and good week-end.&lt;BR /&gt;
GPQ&lt;/GPQ&gt;&lt;/TONY.TANZILLO&gt;&lt;/GPQ&gt;</description>
      <pubDate>Mon, 26 Apr 2010 12:23:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/acad2010-thumbnail/m-p/2672319#M65712</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-26T12:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Acad2010 thumbnail</title>
      <link>https://forums.autodesk.com/t5/net-forum/acad2010-thumbnail/m-p/2672320#M65713</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
   I tried using the above code with c # but I could not use CreatePreviewImage () method.&lt;BR /&gt;
   Can anyone help me how do I get the thumbnail and display it in a picturebox in autocad 2008?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Josano

Edited by: josano on Apr 26, 2010 1:27 PM</description>
      <pubDate>Mon, 26 Apr 2010 13:26:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/acad2010-thumbnail/m-p/2672320#M65713</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-26T13:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Acad2010 thumbnail</title>
      <link>https://forums.autodesk.com/t5/net-forum/acad2010-thumbnail/m-p/2672321#M65714</link>
      <description>There is ocx that make this job ,but i have found from other developer a &lt;BR /&gt;
class that i have modify to change also the background color of thumbnail.&lt;BR /&gt;
Try to use it.&lt;BR /&gt;
Ciao&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;JOSANO&gt; ha scritto nel messaggio news:6380348@discussion.autodesk.com...&lt;BR /&gt;
Hello,&lt;BR /&gt;
&lt;BR /&gt;
   I tried using the above code with c # but I could not use &lt;BR /&gt;
CreatePreviewImage () method.&lt;BR /&gt;
   Can anyone help me how do I get the thumbnail and display it in a &lt;BR /&gt;
picturebox in autocad 2008?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Josano&lt;BR /&gt;
&lt;BR /&gt;
Edited by: josano on Apr 26, 2010 1:27 PM&lt;/JOSANO&gt;</description>
      <pubDate>Wed, 28 Apr 2010 05:58:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/acad2010-thumbnail/m-p/2672321#M65714</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-28T05:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Acad2010 thumbnail</title>
      <link>https://forums.autodesk.com/t5/net-forum/acad2010-thumbnail/m-p/2705775#M65715</link>
      <description>&lt;P&gt;yes, the&amp;nbsp;&lt;FONT size="2" face="Consolas"&gt;&lt;FONT size="2" face="Consolas"&gt;CapturePreviewImage in 2011 is definitly broken good, any ideas on a better way to grab the screen? i might just use the regular .net screen shot and clip the image myself that way, though, i would perfer the capturepreviewimage B(&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2010 19:35:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/acad2010-thumbnail/m-p/2705775#M65715</guid>
      <dc:creator>tim-bot</dc:creator>
      <dc:date>2010-06-30T19:35:45Z</dc:date>
    </item>
  </channel>
</rss>

