Extracts the bookmarks and save them in the form of an HTML file, In a web application, users can browse through the HTML files first and click a link to go to a specific page within a PDF file.
Parameters
- pdfFile
- The pdf file to be extracted bookmarks.
- cssFile
- The ccs file to display a HTML file, it can be null.
Example
[C#]
PdfContentEditor editor = new PdfContentEditor();
string TestPath = @"E:\pdfkit\";
editor.ExtractBookmarksToHTML(TestPath +"bookmarks.xml");
[Visual Basic]
Dim editor As PdfContentEditor = New PdfContentEditor()
Dim TestPath As String = @"E:\pdfkit\"
editor.ExtractBookmarksToHTML(TestPath +"bookmarks.xml