Aspose.words Bookmarks


#1

Hello, I have a problem with

Document doc = new Document(File);
doc file have a table with 2 columns I do bookmark of first column but

I will only text for the first column but i resive in response the text in the to columns.
bookmark.text.

// I the indexer of the Bookmarks collection to obtain the desired bookmark.

Bookmark bookmark = doc.Range.Bookmarks[ "MyBookmark" ];

Document doc = new Document(File);

//i the indexer of the Bookmarks collection to obtain the desired bookmark.

Bookmark bookmark = doc.Range.Bookmarks[ "MyBookmark" ];

// Get the name and text of the bookmark.

string name = bookmark.Name;

string text = bookmark.Text;

Thanks you for help.

`


#2

@aakaabou1,

Have you tried the latest version of Aspose.Words for .NET i.e. 19.11 on your end? In case the problem still remains, please ZIP and upload your input Word document you are getting this problem with here for testing. We will then investigate the issue on our end and provide you more information.