Hello,
I create a table of contents like in MigraDoc example.
Code:
Paragraph paragraph = currentMigra.LastSection.AddParagraph();
paragraph.Style = "TOC";
Hyperlink hyperlink = paragraph.AddHyperlink(chapt.Unique);
for (int i = 1; i < chapt.GetOutlineLevel(); i++)
paragraph.Format.LeftIndent = paragraph.Format.LeftIndent + Unit.FromCentimeter(1);//hyperlink.AddText("aaa ");
hyperlink.AddText(chapt.Title + "\t");
hyperlink.AddPageRefField(chapt.Unique);
At home I use SumatraPDF and there the TOC looks good. But if I use Adobe Acrobat in office, there are ugly rectangles arround the bookmarks.
Is it possible, that this is related to PDF-Version?