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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Create Alias Bookmark (same range as exsiting bookmark but with different name)

Thread ID:

Created:

Updated:

Platform:

Replies:

118504 Mar 13,2015 03:26 PM UTC Mar 16,2015 10:02 AM UTC WinForms 1
loading
Tags: DocIO
Chad Knudson
Asked On March 13, 2015 03:26 PM UTC

If I open up a document that contains a bookmark named Bookmark1 and I want to add another bookmark that serves as an alias -- it will have the exact same range as Bookmark1 but I want to call it Bookmark2, how do I go about doing this?

Sathish K [Syncfusion]
Replied On March 16, 2015 10:02 AM UTC

Hi Chad,

Thank you for your interest in Syncfusion products.

It is possible to insert an alias bookmark in the place of existing bookmark. You can achieve this by finding the indexes of BookmarkStart and BookmarkEnd of existing bookmark and insert new BookmarkStart and BookmarkEnd before and after the current BookamrkStart and BookmarkEnd indexes respectively. Here BookmarkStart denotes the location where the current bookmark starts and BookmarkEnd denotes the where bookmark ends. We have prepared a sample to illustrate this functionality. Please find the sample from below link and let us know if this helps you.

Sample link:
http://www.syncfusion.com/downloads/support/forum/118504/Sample1392680077.zip

Please refer the below UG documentation to know more about Bookmarks:
http://help.syncfusion.com/ug/windows%20forms/documents/workingwithbookmarks.htm

Please let us know if you have any other questions.

Regards,
Sathish


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;