Skip to end of metadata
Go to start of metadata
Contents Summary
 

The code sample in below examples uses some methods defined in Working with Common Utilities.

This feature is supported by version 19.2 or greater.

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. 

Usage

In order to get the file type of a document, the following steps are needed to be followed:

  1. Get the PreviewHandler from PreviewFactory.Load("filePath") method.
  2. 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.

Labels
  • No labels