I hava a docx file includes some bookmarks. You can see in attached file.
I need to convert it to pdf and thispdf contains my bookmarks.
PdfFormatProvider prov = (PdfFormatProvider)formatProvider;
PdfExportSettings set = new PdfExportSettings();
set.CommentsExportMode = PdfCommentsExportMode.NativePdfAnnotations;
prov.ExportSettings = set;
I use this code block, but when i export docx to pdf, bookmarks doesnt seen in PdfFile.
You can see in attached File.