how to insert bookmark to childbookmark

Questions, comments and suggestions concerning VintaSoft PDF .NET Plug-in.

Moderator: Alex

Post Reply
narinscan
Posts: 5
Joined: Wed Dec 29, 2010 7:45 am

how to insert bookmark to childbookmark

Post by narinscan » Sat Jun 28, 2014 5:22 am

Hi alex
How to insert bookmark to Childbookmark which I khow parrent bookmark.(VB.NET)

Thank Narin

Alex
Site Admin
Posts: 1462
Joined: Thu Jul 10, 2008 2:21 pm

Re: how to insert bookmark to childbookmark

Post by Alex » Sat Jun 28, 2014 8:46 am

Hello Narin,

Please see example here:
http://www.vintasoft.com/docs/vsimaging ... ction.html

Best regards, Alexander

narinscan
Posts: 5
Joined: Wed Dec 29, 2010 7:45 am

Re: how to insert bookmark to childbookmark

Post by narinscan » Sat Jun 28, 2014 2:18 pm

Hi Alex
your example in the Pdfdestination to insert do not guide how to insert to child bookmark.
I understand example but I can't understand How to insert to child bookmark Pdfdestination.

Example
parrent bookmark position = 8
how to insert child bookmark to parrent=8

Thank
Narin

Alex
Site Admin
Posts: 1462
Joined: Thu Jul 10, 2008 2:21 pm

Re: how to insert bookmark to childbookmark

Post by Alex » Mon Jun 30, 2014 10:34 am

Hello Narin,
How to insert to child bookmark Pdfdestination.
Each bookmark has a list of child bookmarks which is available using the PdfBookmark.ChildBookmarks property. You need get an instance of PdfBookmark from child bookmarks and change destination in child bookmark.

Best regards, Alexander

narinscan
Posts: 5
Joined: Wed Dec 29, 2010 7:45 am

Re: how to insert bookmark to childbookmark

Post by narinscan » Tue Jul 08, 2014 7:23 am

How to get an instance of PdfBookmark from child bookmarks and change destination in child bookmark.


Thank
Narin

Alex
Site Admin
Posts: 1462
Joined: Thu Jul 10, 2008 2:21 pm

Re: how to insert bookmark to childbookmark

Post by Alex » Tue Jul 08, 2014 11:16 am

Hello Narin,
How to get an instance of PdfBookmark from child bookmarks and change destination in child bookmark.
Bookmark collection of PDF document can be get using the PdfDocument.Bookmarks property:
http://www.vintasoft.com/docs/vsimaging ... marks.html

Bookmark from bookmark collection can be get using the indexer of bookmark collection:
http://www.vintasoft.com/docs/vsimaging ... /Item.html

Child bookmark collection of bookmark can be get using the [PdfBookmark.ChildBookmarks] property:
http://www.vintasoft.com/docs/vsimaging ... marks.html

Bookmark destination can be get/set using the PdfBookmark.Destination property:
http://www.vintasoft.com/docs/vsimaging ... ation.html

Best regards, Alexander

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests