Render Image Previews for Supported Document Types
The GroupDocs.Metadata has introduced a new feature which allows to render image previews for supported document types.
In order to get the file type of a document, the following steps are needed to be followed:
- Get the PreviewHandler from PreviewFactory.Load("filePath") method.
- Get the Image Previews of a page by using PreviewHandler.GetPageImage(int PageNumber) method.
The following code snippet demonstrates how to get the Image Previews of a Word document.