' For complete examples and data files, please go to https://github.com/groupdocs-viewer/GroupDocs.Viewer-for-.NET
'Get Configurations
Dim config As ViewerConfig = Utilities.GetConfigurations()
' Create html handler
Dim htmlHandler As New ViewerHtmlHandler(config)
' Set pdf options to render content without annotations
Dim options As New HtmlOptions()
options.PdfOptions.DeleteAnnotations = True
' Default value is false
'Get document pages in html form
Dim pages As List(Of PageHtml) = htmlHandler.GetPages(DocumentName, options)
For Each page As PageHtml In pages
'Save each page at disk
Utilities.SaveAsHtml(page.PageNumber + "_" + DocumentName, page.HtmlContent)
Next