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 »

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

Thank Narin
Alex
Site Admin
Posts: 2305
Joined: Thu Jul 10, 2008 2:21 pm

Re: how to insert bookmark to childbookmark

Post by Alex »

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 »

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: 2305
Joined: Thu Jul 10, 2008 2:21 pm

Re: how to insert bookmark to childbookmark

Post by Alex »

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 »

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


Thank
Narin
Alex
Site Admin
Posts: 2305
Joined: Thu Jul 10, 2008 2:21 pm

Re: how to insert bookmark to childbookmark

Post by Alex »

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