Extracting text from an html page

Hello,
I have Aspose.Words. How do I extract plain text out of an html document? I tried to so do like the following, but got many lines duplicate-times:

Aspose.Words.Document doc = new Aspose.Words.Document(FullFileName);
text = doc.ToTxt();

This message was posted using Aspose.Live 2 Forum

Hi

Thanks for your request. Could you please attach your HTML document here for testing? I will check the issue and provide you more information.
Best regards.