Setting cell sizes is very inaccurate.
Posted: Fri Aug 07, 2015 2:05 pm
If I set the pixelSize of a row or column the width or height of the column/row is very inaccurate.
It seems also to be very inconsistent.
Small example:
It seems also to be very inconsistent.
Small example:
Code: Select all
XLS := TXLSReadWriteII5.Create(nil);
XLS.Filename := 'D:\test.xlsx';
....
XLS[0].Columns[0].PixelWidth := 64 <-results in '56'.
...
for i = 0 to 100 do begin
XLS[0].Columns[0].PixelWidth := XLS[0].Columns[0].PixelWidth <- This should not change the width but afterwards the width is '0' or even negative!
end ...
the same happens to the row height.