Page 1 of 1

Maximum column width

Posted: Wed Aug 08, 2018 2:18 pm
by d3nton
Hi!

Is there a way to set the maximum allowed column width when using TJamXLSWorkSheet.AutoWidthCols in order to e.g. prevent
columns larger than e.g. 500 pixels?
If not, would it be possible to add such an option (maybe as a property of the sheet)?
Thank you.

Best regards
d3nton.

Re: Maximum column width

Posted: Thu Aug 16, 2018 7:22 am
by larsa
Hello

This is fixed now.

AutoWidthCols and AutoHeightRows are no declared as:

procedure AutoWidthCols(const Col1,Col2: integer; AMinWidth: integer = 0; AMaxWidth: integer = MAXINT);
function AutoHeightRows(const Row1,Row2: integer; AMinHeight: integer = 0; AMaxHeight: integer = MAXINT): boolean;

Re: Maximum column width

Posted: Mon Aug 20, 2018 2:10 pm
by d3nton
That are great news. Thank you very much.
I will test it.

best regards d3nton