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

The Recipe and Code uses some of the objects defined in: Working with Common Operations

The Recipe

GroupDocs.Viewer also allows you to get the resources (i.e. CSS and images) of the resultant HTML pages. You can get and save each resource as well at your desired location. Following are the steps that are required to get HTML resources.

  • Setup viewer configuration
  • Get HTML pages using ViewerHandler.getPages
  • Loop through the list of the HTML pages returned by ViewerHandler.getPages
  • Access the resources using PageHtml.getHtmlResoucres()
  • Loop throught each HtmlResource returned by PageHtml.getHtmlResoucres()

The Code

Labels
  • No labels