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

GroupDocs.Viewer allows you to get document information from URI. Follow below steps to perform this operation:

  • 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(URI, DocumentInfoOptions).
  • Print document information.

The Code

  • No labels