When I upload a word document,I want to find such as "Background" in the document,I can use codes as following.
TextSelection textSelectBackground = document.FindString("Background", false, true);
But I want to get the whole paragraph from the "Background" to the next title.
The word document sample is as following:
One. Background
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXX(these are the texts)
Two.Analysis
XXXXXXXXXXXXXXXX
How can I get these texts? Hope to give me an example to see. Thank you.