PDFsharp & MigraDoc Forum
https://forum.pdfsharp.net/

Bookmarks surrounded with Rectangle in Adobe
https://forum.pdfsharp.net/viewtopic.php?f=2&t=2309
Page 1 of 1

Author:  MakroDoccer [ Tue Jan 22, 2013 9:41 pm ]
Post subject:  Bookmarks surrounded with Rectangle in Adobe

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?

Author:  Thomas Hoevel [ Wed Jan 23, 2013 9:05 am ]
Post subject:  Re: Bookmarks surrounded with Rectangle in Adobe

See here:
viewtopic.php?p=6161#p6161

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/