Page 1 of 1

how to insert bookmark to childbookmark

Posted: Sat Jun 28, 2014 5:22 am
by narinscan
Hi alex
How to insert bookmark to Childbookmark which I khow parrent bookmark.(VB.NET)

Thank Narin

Re: how to insert bookmark to childbookmark

Posted: Sat Jun 28, 2014 8:46 am
by Alex
Hello Narin,

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

Best regards, Alexander

Re: how to insert bookmark to childbookmark

Posted: Sat Jun 28, 2014 2:18 pm
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

Re: how to insert bookmark to childbookmark

Posted: Mon Jun 30, 2014 10:34 am
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

Re: how to insert bookmark to childbookmark

Posted: Tue Jul 08, 2014 7:23 am
by narinscan
How to get an instance of PdfBookmark from child bookmarks and change destination in child bookmark.


Thank
Narin

Re: how to insert bookmark to childbookmark

Posted: Tue Jul 08, 2014 11:16 am
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