string inputpdf = "D:\\chapter1.pdf"; string outputbookmark="D:\\chapter1Bookmark.xml"; PdfReader reader = new PdfReader(inputpdf); IList<dictionary><string,>> bookmarks = SimpleBookmark.GetBookmark(reader); using (StreamWriter Sw = new StreamWriter(outputbookmark)) { SimpleBookmark.ExportToXML(bookmarks, Sw,"ISO8859-1", true); } reader.Close();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)