In the Windows Explorer, images in files or folders are presented as thumbnails before they are opened. With the help of the ThumbnailImage .NET component you can easily incorporate a thumbnail viewer-like feature into your application.
The image is extracted using the same API calls the Windows Explorer employs to show thumbnails. Thus, your application will look and behave just like the Windows Explorer - e.g. automatically using installed Shell Extensions.
With this .NET component you can control the displayed thumbnail by changing the path property to a file/folder path. You can also synchronize it to a ShellListView or a ShellTreeView via the ShellControlConnector component. The size of the thumbnail image will be adjusted automatically to fit the current size of the control.
If you want to show the content of non-image files, simply use the ShellFilePreview component.
Looking for API documentation?