Hi All,
I have a word document having multiple tables with different information. Is there any way I can set some peoprty to these tables & then access table using assigned property or some other way to identfy the table uniquely?
Thanks in Advance
KP King
Hi
Thanks for your request. You can access the table by index, also you can insert bookmark into the table and access table by moving DocumentBuilder cursor to the bookmark. For example, see the following code:
// Move DocumentBuilder cursor to the bookmark
builder.MoveToBookmark("myTable");
// Get table where this bookmark is placed
Table myTable = builder.CurrentNode.GetAncestor(NodeType.Table) as Table;
Hope this helps.
Best regards.
Thanks Alexey!!!