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

Free Support Forum - aspose.com

Problem with RowFormat.AllowAutoFit


I'm creating a table with DocumentBuilder, the number of columns may change and I'd like the columns to fit with its content, but what I get is in the image I've attached.

My code is quite simple, here it is:

builder.RowFormat.AllowAutoFit = true;



Thank you.

I solved it. The table is left-indented, I’ve tried decreasing the value of RowFormat.LeftIndent and it worked fine.

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

It is nice that you already found solution independently.

Best regards.