Free Support Forum - aspose.com

Convert Word document into simple Text (Strip off all formatting)

Hi I want to load a word document (.doc or .docx)
and save it with all formatting stripped out, except the images.
I want to keep the tables and images intact.

Is this possible?


Hi Nitin,


Thanks for your inquiry.

Sure, you can easily reset font formatting to default by calling Font.ClearFormatting method, paragraph formatting to default (to Normal style, left aligned, no indentation, no spacing, no borders and no shading) by calling ParagraphFormat.ClearFormatting method, Cell Formatting by calling CellFormat.ClearFormatting method and Row Formatting by calling RowFormat.ClearFormatting method.

Please let me know if I can be of any further assistance.

Best regards,