extract data from word file

Hi
i want to select a specific area in a word document and extract a table from it then remove this selection from the document , so I want know how to find the range of the start and end of the selection then get the table in this specific start and end range then remove this selection and continue with the same concept for the whole document
Thanks

1 Reply 1 reply marked as answer

MR Manikandan Ravichandran Syncfusion Team September 15, 2020 08:16 PM UTC

Hi Seif,

Thank you for contacting Syncfusion support.

From the given details we have found that, your requirement is to get the particular content from the word document and remove this content from word document. You can achieve your requirement by using Bookmarks. You can set bookmarks for which content you want to get or remove.

We have prepared the sample based on the above and it can be downloaded from the below link.
https://www.syncfusion.com/downloads/support/forum/157849/ze/GetBookmarkContent497167239

Note: the template document is in “Data” folder of the above sample

Please refer the below UG link to know more above bookmarks
https://help.syncfusion.com/file-formats/docio/working-with-bookmarks

Please let us know if you have any questions.

Regards,
Manikandan Ravichandran
 


Marked as answer
Loader.
Up arrow icon