Message 1 of 4
Use a thumbnail in a custom windows form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I recently installed Inventor 2025 and some pieces of code stopped working. I quess its because they changed to .NET 8.0, but i have no idea how to rewrite this part to work in Inventor 2025. I use the thumbnail in a custom windows form.
'set iproperty to use ISO view on save docFile.SetThumbnailSaveOption _ (ThumbnailSaveOptionEnum.kActiveComponentIsoViewOnSave) Dim thumb As Inventor.IPictureDisp thumb = docFile.Thumbnail Dim img As Drawing.Image img = Compatibility.VB6.IPictureDispToImage(thumb)
Any tips are welcome! Thanks in advance
Wouter Vrouwenvelder