Problem with RowFormat.AllowAutoFit

Hi,
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;
builder.InsertCell();
builder.Write(valor.ToString());

Thank you.

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

Hi
It is nice that you already found solution independently.
Best regards.