Extracts the bookmarks of an existing PDF document in the form of an XML file.
public
void ExportBookmarksToXML(
string outXMLFile);
Parameters
- outXMLFile
- The output XML file.
Example
[C#]
PdfContentEditor editor = new PdfContentEditor();
string TestPath = @"E:\pdfkit\";
editor.BindPdf(TestPath + "test.pdf");
editor.ExportBookmarksToXML(TestPath +"bookmarks.xml");
[Visual Basic]
Dim editor As PdfContentEditor = New PdfContentEditor()
Dim TestPath As String = @"E:\pdfkit\"
editor.BindPdf(TestPath + "test.pdf");
editor.ExportBookmarksToXML(TestPath +"bookmarks.xml")
See Also
PdfContentEditor Class | Aspose.Pdf.Kit Na