<?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 Re: Thumbnails..... in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/thumbnails/m-p/6907342#M102799</link>
    <description>&lt;P&gt;Add a reference to "OLE Automation" to use stdole.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Sub Main()&lt;BR /&gt;     Dim Thumbnail As IPictureDisp
     Set Thumbnail = oDoc.PropertySets.Item("Inventor Summary Information").Item("Thumbnail").Value
     Call CreateThumbnail(Thumbnail, oThumbcol, oRow)
     Set Thumbnail = Nothing

End Sub&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Public Sub CreateThumbnail(Thumbnail As IPictureDisp, oColumn As Integer, ByVal CellRowNum As Integer)
    'Changed to put N/A in same column as comments. if there is an error, check this first.
    On Error GoTo Handler
    Call stdole.SavePicture(Thumbnail, "C:\Temp\Thumb.jpg")
Handler:
    If Err.Number = 380 Then
        ws.Cells(CellRowNum, oColumn).Value = "N/A"
        Exit Sub
    End If
    
    With ws.Cells(CellRowNum, oColumn)
            .AddComment
            .Comment.Visible = False
            .Comment.Shape.Fill.UserPicture ("C:\Temp\Thumb.jpg")
            .Comment.Shape.Height = 75
            .Comment.Shape.Width = 75
    End With
End Sub&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Feb 2017 21:27:50 GMT</pubDate>
    <dc:creator>MechMachineMan</dc:creator>
    <dc:date>2017-02-27T21:27:50Z</dc:date>
    <item>
      <title>Thumbnails.....</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/thumbnails/m-p/6906972#M102798</link>
      <description>&lt;P&gt;Should it really that hard to try and convert an iProperty thumbnail into an actual image? Its pretty much like Inventor developers are still back in the early 90's with methods that nothing from this day and age can or will use....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Microsoft.compatibility = obselete&lt;/P&gt;&lt;P&gt;iPictureDispConverter = Cannot use because axhost has a crap load of issues attached to it that just don't allow you to build&lt;/P&gt;&lt;P&gt;PictureDispConverter only converts to an iPictureDisp&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;pretty much any other method around doesn't work&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2017 19:23:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/thumbnails/m-p/6906972#M102798</guid>
      <dc:creator>NachoShaw</dc:creator>
      <dc:date>2017-02-27T19:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Thumbnails.....</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/thumbnails/m-p/6907342#M102799</link>
      <description>&lt;P&gt;Add a reference to "OLE Automation" to use stdole.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Sub Main()&lt;BR /&gt;     Dim Thumbnail As IPictureDisp
     Set Thumbnail = oDoc.PropertySets.Item("Inventor Summary Information").Item("Thumbnail").Value
     Call CreateThumbnail(Thumbnail, oThumbcol, oRow)
     Set Thumbnail = Nothing

End Sub&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Public Sub CreateThumbnail(Thumbnail As IPictureDisp, oColumn As Integer, ByVal CellRowNum As Integer)
    'Changed to put N/A in same column as comments. if there is an error, check this first.
    On Error GoTo Handler
    Call stdole.SavePicture(Thumbnail, "C:\Temp\Thumb.jpg")
Handler:
    If Err.Number = 380 Then
        ws.Cells(CellRowNum, oColumn).Value = "N/A"
        Exit Sub
    End If
    
    With ws.Cells(CellRowNum, oColumn)
            .AddComment
            .Comment.Visible = False
            .Comment.Shape.Fill.UserPicture ("C:\Temp\Thumb.jpg")
            .Comment.Shape.Height = 75
            .Comment.Shape.Width = 75
    End With
End Sub&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2017 21:27:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/thumbnails/m-p/6907342#M102799</guid>
      <dc:creator>MechMachineMan</dc:creator>
      <dc:date>2017-02-27T21:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Thumbnails.....</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/thumbnails/m-p/6907372#M102800</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply. Does that solution work through VB.Net? I cant find any reference available that is or is similar to OLE automation&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nacho&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2017 21:39:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/thumbnails/m-p/6907372#M102800</guid>
      <dc:creator>NachoShaw</dc:creator>
      <dc:date>2017-02-27T21:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Thumbnails.....</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/thumbnails/m-p/6907384#M102801</link>
      <description>No. Just through vba as in excel. AFAIK, 64 bit windows utilizing vb.net&lt;BR /&gt;requires some interesting programing to make it work as it seems you have&lt;BR /&gt;discovered.</description>
      <pubDate>Mon, 27 Feb 2017 21:43:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/thumbnails/m-p/6907384#M102801</guid>
      <dc:creator>MechMachineMan</dc:creator>
      <dc:date>2017-02-27T21:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: Thumbnails.....</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/thumbnails/m-p/6910854#M102802</link>
      <description>&lt;P&gt;Well...... I have it working on 64bit using Microsoft.VisualBasic.Compatibility.VB6 which is the obsolete method however, its the ONLY one that works....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;AxHost - just crashes my PC&lt;/P&gt;&lt;P&gt;iPictureDispConverter - crashes Visual Studio&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apart from the now obsolete method, is there any other method? what was the Framework 4.5 equivalent to the framework 3 compatibility method? Seens there is nothing that comes close.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nacho&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2017 00:10:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/thumbnails/m-p/6910854#M102802</guid>
      <dc:creator>NachoShaw</dc:creator>
      <dc:date>2017-03-01T00:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Thumbnails.....</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/thumbnails/m-p/6914098#M102803</link>
      <description>&lt;P&gt;Here's some test code I put together in a Visual Basic exe that is working. &amp;nbsp;It uses apprentice to extract a thumbnail from a document and then saves it back out as a png file, converting it from an IPictureDisp object to an Image in the process. &amp;nbsp;This should also work in an add-in. &amp;nbsp;This example won't work if it tries to connect to Inventor because Inventor and this program will be running in separate processes and COM doesn't support passing an IPictureDisp object between processes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Imports Inventor
Imports System.Runtime.InteropServices

Public Class Form1
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Dim apprentice = New Inventor.ApprenticeServerComponent
        Dim doc As Inventor.ApprenticeServerDocument = apprentice.Open("C:\Temp\Part1.ipt")

        Dim picDispThumb As stdole.IPictureDisp = doc.Thumbnail
        Dim imageThumb As Image = AxHostConverter.PictureDispToImage(picDispThumb)
        imageThumb.Save("C:\Temp\testThumb.png")
    End Sub
End Class

Public Module Utilities
    Friend Class AxHostConverter
        Inherits AxHost
        Private Sub New()
            MyBase.New(GetType(stdole.IPictureDisp).GUID.ToString)
        End Sub

        Public Shared Function PictureDispToImage(pictureDisp As stdole.IPictureDisp) As Image
            Return GetPictureFromIPicture(pictureDisp)
        End Function

        Public Shared Function ImageToPictureDisp(image As Image) As stdole.IPictureDisp
            Return DirectCast(GetIPictureDispFromPicture(image), stdole.IPictureDisp)
        End Function
    End Class
End Module&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2017 00:13:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/thumbnails/m-p/6914098#M102803</guid>
      <dc:creator>ekinsb</dc:creator>
      <dc:date>2017-03-02T00:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Thumbnails.....</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/thumbnails/m-p/6914132#M102804</link>
      <description>&lt;P&gt;Hi Brian&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate the reply and effort. I had been using Apprentice as I was aware of the Inventor issues. Odd though, Whenever I use anything that has a reference to AxHost, I get an error message stating that AxHost cannot be used because it is abstract which is shortly followed by an Inventor crash, a visual Studio crash and ultimately, a complete blue screen PC crash..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will however try the code you have posted and see if I get the same behaviour &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nacho&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2017 00:34:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/thumbnails/m-p/6914132#M102804</guid>
      <dc:creator>NachoShaw</dc:creator>
      <dc:date>2017-03-02T00:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: Thumbnails.....</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/thumbnails/m-p/6917360#M102805</link>
      <description>&lt;P&gt;Hi Brian&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;UPDATE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you saying then that if Inventor was already open and I used the supplied code (even though the code exclusively uses Apprentice only), it wont work? I have tried the code this evening and I get an error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AxHost.png" style="width: 432px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/328795iF36C33134887EB8C/image-size/large?v=v2&amp;amp;px=999" role="button" title="AxHost.png" alt="AxHost.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And here is the full error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NotImplementedException: Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL))
   at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData&amp;amp; msgData)
   at Inventor.ApprenticeServerDocument.get_Thumbnail()
   at oSheets.pAssyStructure.LoadImage(String sPath) in C:\Users\Nige\Documents\Visual Studio Projects\Inventor\oSheets\oSheets\Pages\pAssyStructure.vb:line 110
   at oSheets.pAssyStructure.GridControl1_Click(Object sender, EventArgs e) in C:\Users\Nige\Documents\Visual Studio Projects\Inventor\oSheets\oSheets\Pages\pAssyStructure.vb:line 100
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at DevExpress.XtraGrid.GridControl.OnClick(EventArgs ev)
   at System.Windows.Forms.Control.WmMouseUp(Message&amp;amp; m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message&amp;amp; m)
   at DevExpress.XtraEditors.Container.EditorContainer.WndProc(Message&amp;amp; m)
   at DevExpress.XtraGrid.GridControl.WndProc(Message&amp;amp; m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&lt;/PRE&gt;&lt;P&gt;So, I added this to my click Event&lt;/P&gt;&lt;PRE&gt;Dim apprentice = New Inventor.ApprenticeServerComponent
        Dim doc As Inventor.ApprenticeServerDocument = apprentice.Open(sPath)

        Dim picDispThumb As stdole.IPictureDisp = doc.Thumbnail
        Dim imageThumb As Image = AxHostConverter.PictureDispToImage(picDispThumb)&lt;/PRE&gt;&lt;P&gt;I then added this after the form Class&lt;/P&gt;&lt;PRE&gt;Public Module Utilities
    Friend Class AxHostConverter
        Inherits AxHost
        Private Sub New()
            MyBase.New(GetType(stdole.IPictureDisp).GUID.ToString)
        End Sub

        Public Shared Function PictureDispToImage(pictureDisp As stdole.IPictureDisp) As Image
            Return GetPictureFromIPicture(pictureDisp)
        End Function

        Public Shared Function ImageToPictureDisp(image As Image) As stdole.IPictureDisp
            Return DirectCast(GetIPictureDispFromPicture(image), stdole.IPictureDisp)
        End Function
    End Class
End Module&lt;/PRE&gt;&lt;P&gt;I also tried in a separate Module and also a Class all of which, gave me the same error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nacho&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2017 00:28:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/thumbnails/m-p/6917360#M102805</guid>
      <dc:creator>NachoShaw</dc:creator>
      <dc:date>2017-03-03T00:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Thumbnails.....</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/thumbnails/m-p/6917404#M102806</link>
      <description>&lt;P&gt;I've attached my complete project, which is working for me. &amp;nbsp;It also contains another class that I had found a few years ago for converting between .NET images and IPictureDisp but I'm not using it here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're using Apprentice, it should always work, as long as Apprentice can access and open the file. &amp;nbsp;What won't work is if you write an EXE that is trying to get the thumbnail from Inventor. &amp;nbsp;It's not possible to pass an image from one process (Inventor in this case) to another (your EXE). &amp;nbsp;An add-in will work because it's running within the Inventor process.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2017 01:00:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/thumbnails/m-p/6917404#M102806</guid>
      <dc:creator>ekinsb</dc:creator>
      <dc:date>2017-03-03T01:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Thumbnails.....</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/thumbnails/m-p/6917418#M102807</link>
      <description>&lt;P&gt;Hi Brian&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the update. I am not making an EXE, I am working on an Addin. So,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Addin loads with Inventor&lt;/P&gt;&lt;P&gt;I load a New Instance of my form&lt;/P&gt;&lt;P&gt;when&amp;nbsp; click an item in the list I generate, I want to get the thumbnail of that item.&lt;/P&gt;&lt;P&gt;I am saving the full path in the list and using the path with Apprentice to open in silently and get the thumbnail&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Theoretically, this process is NOT using the Inventor connection directly to access the file, it is using Apprentice&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nigel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2017 01:14:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/thumbnails/m-p/6917418#M102807</guid>
      <dc:creator>NachoShaw</dc:creator>
      <dc:date>2017-03-03T01:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: Thumbnails.....</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/thumbnails/m-p/6917421#M102808</link>
      <description>&lt;P&gt;You can't use Apprentice from within an add-in. &amp;nbsp;This isn't related to the IPictureDisp issue I explained before but is a limitation of Inventor. &amp;nbsp;Apprentice and Inventor use many of the DLL's so when you try to load Apprentice into Inventor there are problems. &amp;nbsp;You'll need to open the file in Inventor and then you should be able to use the Thumbnail property.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2017 01:18:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/thumbnails/m-p/6917421#M102808</guid>
      <dc:creator>ekinsb</dc:creator>
      <dc:date>2017-03-03T01:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Thumbnails.....</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/thumbnails/m-p/7416925#M102809</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's an old post, but i stumbled upon the same problems, and none of the provided code/suggestions helped me until i found this one&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.c3mcad.com/ProductPages/MiscTools/ProductIvThumbs.aspx" target="_blank"&gt;http://www.c3mcad.com/ProductPages/MiscTools/ProductIvThumbs.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To simple lines of code and a reference to a dll&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Great solution for me, and hopefully for other people too!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 13:47:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/thumbnails/m-p/7416925#M102809</guid>
      <dc:creator>frederic.vandenplas</dc:creator>
      <dc:date>2017-09-28T13:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: Thumbnails.....</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/thumbnails/m-p/9585417#M102810</link>
      <description>&lt;P&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class=""&gt;I know this is an old post, but I was also looking for a solution to this problem and in my case (Inventor add-in dll and Inventor 64bit) I use WindowsAPICodePack. The thumbnail is obtained directly from the file, not the Inventor document.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;Dim shFile As Microsoft.WindowsAPICodePack.Shell.ShellFile = Microsoft.WindowsAPICodePack.Shell.ShellFile.FromFilePath(doc.FullFileName)
Dim shFileBitmap As Bitmap = shFile.Thumbnail.Bitmap
Dim shFileLargeBitmap As Bitmap = shFile.Thumbnail.ExtraLargeBitmap&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class=""&gt;It is used in the .dll library and does not cause problems even with the BackgroundWorker.RunWorkerAsync () thread. In addition, it allows you to receive thumbnails and icons of other file formats.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class=""&gt;This can also be helpful:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class=""&gt;&lt;A href="https://stackoverflow.com/questions/1439719/c-sharp-get-thumbnail-from-file-via-windows-api" target="_blank" rel="noopener"&gt;https://stackoverflow.com/questions/1439719/c-sharp-get-thumbnail-from-file-via-windows-api&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class=""&gt;Size of Thumbnail (Width/Height)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class=""&gt;Bitmap 256 / 256&lt;BR /&gt;ExtraLargeBitmap 1024 / 1024&lt;BR /&gt;LargeBitmap 256 / 256&lt;BR /&gt;MediumBitmap 96 / 96&lt;BR /&gt;SmallBitmap 32 / 32&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2020 16:05:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/thumbnails/m-p/9585417#M102810</guid>
      <dc:creator>lukasz.klonica</dc:creator>
      <dc:date>2020-06-17T16:05:33Z</dc:date>
    </item>
  </channel>
</rss>

