.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

thumbnail preview don't save with saveas

0 REPLIES 0
Reply
Message 1 of 1
michael_vanhoose
442 Views, 0 Replies

thumbnail preview don't save with saveas

Hi, I know this was a problem in the past, with saving the thumbnail on the saveas api.  But, I thought they would fix this by now with 2011.  Does anybody now how.

 

When I open one file it saves the thumbnail.  But the next file don't save the thumbnail.  any Ideas please.

 

 

Dim bm As New System.Drawing.Bitmap("C:\image.bmp") 
file.Database.ThumbnailBitmap = bm
file.Database.SaveAs(file.Database.Filename, True, DwgVersion.AC1021, file.Database.SecurityParameters)

       
file = Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.Open("c:\file1.dwg", False)
Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.MdiActiveDocument = file
file.Database.ThumbnailBitmap = bm
file.Database.SaveAs(file.Database.Filename, True, DwgVersion.AC1021, file.Database.SecurityParameters)

 

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost