CalcDimensionsEx does not work
Posted: Tue Apr 01, 2014 9:14 am
The procedure TXLSWorksheet.CalcDimensionsEx does not work correct.
first Xc12Sheet.Dimension is assigned to Area, then area is set to max-Values.
After that the method iterates over the cells and adjusts the area, when the cell is not inside of FXc12Sheet.Dimension (Area should be the right variable to compare with). --> This is (in my case) never the case, because the initial value of FXc12Sheet.Dimension is greater than the right area.
--> After CalcDimensionsEx the new Area is Max-/MinInt
first Xc12Sheet.Dimension is assigned to Area, then area is set to max-Values.
After that the method iterates over the cells and adjusts the area, when the cell is not inside of FXc12Sheet.Dimension (Area should be the right variable to compare with). --> This is (in my case) never the case, because the initial value of FXc12Sheet.Dimension is greater than the right area.
--> After CalcDimensionsEx the new Area is Max-/MinInt