This interface does NOT have a way to tell the preview handler what file it should show!! For this reason, all preview handler COM objects must also support at least one of IInitializeWithFile or IInitializeWithStream, which is how they get this crucial piece of information.
Tips & Tricks:
You can use this interface to leverage previewers already installed on a system to display a document preview in a Windows Forms app.
In case you want a ready-to-use control for .Net based on IPreviewHandler check out this:
This interface describes the API implemented by preview handlers. When a handler for a given file type is installed on a system, the shell or custom apps can use it to display the contents of these files in their window. Preview handlers usually do not allow in-place editing and may not display all the information contained in the file (for example, macros inside Office documents are ignored by their preview handlers)
10/22/2015 1:52:54 AM - -206.116.16.22
This interface describes the API implemented by preview handlers. When a handler for a given file type is installed on a system, the shell or custom apps can use it to display the contents of these files in their window. Preview handlers usually do not allow in-place editing and may not display all the information contained in the file (for example, macros inside Office documents are ignored by their preview handlers)