Extract text behind the image or text box control

Hi,

I am currently using the evolution version of ASPOSE SDK. My actual task is to extract hidden text from MS Word document using ASPOSE SDK. I can able to extract hidden text, but unable to extract text behind the image or text box control.I need only text behind the Image or text box control. Please any one guide me to extract this text.

Thanks.

Dear Dhivya,


Thank you for your question.

To provide you with solution could I ask you to make clear what do you mean under “only text behind the Image or text box control” and demonstrate this by your input document (you can attach input document here).

Thank you for cooperation.

Hai DLana,

Thank you for your reply.

I have attached sample input document. Actually this document contains "Need to extract text behind the image." sentence and one image. The image is placed in front of "to extract text behind” these words. So these words are not visible to viewers. I need to extract text behind the image e.g. from this input document I need to extract only "to extract text behind” texts.

Dear Dhivya,


Thank you for additional information.

Due to floating format of word documents it is impossible to define position of text inside document and define which portion of text is placed exactly behind image.
So what you can use is methods to get text of nodes. For more details please see here http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/howto-extract-text-only.html.

Sorry for inconvenience.

Thanks DLana.