I am looking to create a PDF document that looks like the following:
Outline
Bookmark 1 (or Outline if needed)
Sub-Bookmark 1
Sub-Bookmark 2
Sub-Bookmark 3
Bookmark 2
Sub-Bookmark 1
Sub-Bookmark 2
Sub-Bookmark 3
I have toyed around with creating bookmarks, but can only add them to a parent outline or to the root of the document.
Is there a way to accomplish what I want by either creating two levels of outlines or two levels of bookmarks?
Thanks!
Create Sub-Bookmarks or Sub-Outlines
Re: Create Sub-Bookmarks or Sub-Outlines
Support · Aug 18, 2009Hello,
Yes, you can add parent and child outlines or bookmarks without any problem using our DynamicPDF product. You can use the Bookmark constructor which takes the parent outline object in its constructor as a parameter. You can refer to the Bookmark
on our help documentation. You can also add outlines as Childs to other outline objects.
Outline outline = document.Outlines.Add("Main");
Outline outlineChild1 = outline.Outlines.Add("Child", new XYDestination(8, 0, 0));
Thanks,
ceTe Software Support Team.