PdfBookmarkEditor.ImportBookmarksWithXML

ImportBookmarksWithXML(string)

Imports bookmarks to the document from XML file.

public void ImportBookmarksWithXML(string xmlFile)
ParameterTypeDescription
xmlFileStringThe XML file containing bookmarks list.

Examples

PdfBookmarkEditor editor = new PdfBookmarkEditor();
editor.BindPdf("example.pdf");
editor.ImportBookmarksWithXML("bookmarks.xml");
editor.Save("example_out.pdf");

See Also


ImportBookmarksWithXML(Stream)

Imports bookmarks to the document from XML file.

public void ImportBookmarksWithXML(Stream stream)
ParameterTypeDescription
streamStreamStream with bookmarks data.

See Also