We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Copy bookmarks

Hi,

I'd like to predefine some areas in a doc template with some bookmarks with other bookmarks inside. Then I'd like to select the bookmark and copy it to a new document with other bookmarks in it (like a template). If I try it in word, it will copy the bookmarks inside, but I've not found any sample or description to do the same with DocIO. Is it possible and how?

Adi


1 Reply

PR Poornima R Syncfusion Team September 7, 2011 07:41 AM UTC

Hi Andreas,

Thank you for your interest in Syncfusion Products.

We have prepared the sample to meet your requirement of “Copying the bookmarks from one document to another document along with the nested bookmarks content”. Please find the sample from the below link. In this sample we have used the BookmarkNavigator class to get the specified bookmark content (along with the nested bookmark content) and copied the content to the newly created word document. Try running the sample and let us know if this helps you.

Sample:
GenerateWordDocument-262942144.zip

For more information about bookmark navigation, please refer the below links

Online Documentation link:
http://help.syncfusion.com/ug_93/Reporting/DocIO/ASP.NET/default.htm?turl=Documents%2F44131bookmarknavigator.htm
Online sample link:

http://asp.syncfusion.com/sfaspnetsamplebrowser/9.3.0.61/Web/DocIO.Web/Samples/4.0/Editing/Bookmark_Navigation/CS/Bookmark_Navigation.aspx

Please let us know if you have any questions.

Regards,
Poornima



Loader.
Live Chat Icon For mobile
Up arrow icon