We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Alternate method for deprecated methods

Hi,


p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; color: #4e9072}

docBuilder.clearCellAttrs() and docBuilder.clearRunAttrs() methods are deprecated in newer version of Aspose.Words. What is the alternate method or way for clearing the attributes?

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; color: #4e9072}
Hi Sharon,

Thanks for your inquiry. Please use CellFormat.ClearFormatting method to reset to default cell formatting and use Run.Font.ClearFormatting method to reset to default font formatting.

Please let us know if you have any more queries.