com.aspose.words.CellFormat - setFitText class

Is the setFitText()class available for both Word 2003 (doc) and 2007 (docx)format documents ?

Hi there,

Thanks for your inquiry.

Yes, you can use setFitText(booleanvalue) property for all Word Document formats including doc and docx formats. I would suggest you please read the following API link:
https://reference.aspose.com/words/java/com.aspose.words/CellFormat

Please let us know if you need more information, we are always glad to help you.

Best Regards,