CalcDimensionsEx does not work

Questions and answers on how to use XLSReadWriteII 5.
Post Reply
DrTob
Posts: 20
Joined: Tue Jul 19, 2011 2:31 pm

CalcDimensionsEx does not work

Post by DrTob »

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
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Re: CalcDimensionsEx does not work

Post by larsa »

Hello

Will fix this in the next update.
Lars Arvidsson, Axolot Data
Post Reply