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()