Autofit and BestFit

Jul 8, 2009 at 9:40 AM

Hi there,

I know that the Autofit and Bestfit properties doesn't really autofit the contents of cells, but is there a way that we can maybe calculate the width of the contents and then apply that width to the width of the cell if the Autofit and Bestfit properties has been specified?

I haven't really tried it, but I don't want to waste my time if somebody else has done the job.

Thanks,

MS

Coordinator
Jul 13, 2009 at 9:02 AM

There is no way of knowing how the content is going to be rendered by the application reading the ooxml file so I dont think this is possible.

Jul 20, 2009 at 12:38 PM

is there a way to set Autofit / Bestfit in code? this isn't documented in the unit tests :(