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

This feature is supported from version 3.7.0.

The Recipe and Code uses some of the objects defined in: Working with common operations

The Recipe

You can also get document information from stream using the GroupDocs.Viewer API. Just below steps are needed to be followed:

  • Create and populate the object of ViewerConfig
  • Instantiate the object of ViewerHtmlHandler by passing the ViewerConfig object into its constructor
  • Instantiate and populate DocumentInfoOptions
  • Get document information in DocumentInfoContainer using ViewerHtmlHandler.getDocumentInfo(FileInputStream, DocumentInfoOptions)
  • Print document information

The Code

Labels
  • No labels