<< Return to Main Index

< Return to Class Index

CGXGridCore::CalcSumOfRowHeights

int CalcSumOfRowHeights(ROWCOL nFromRow, ROWCOL nToRow, int nAbortAt = 0);

nFromRow

Specifies the first row id.

nToRow

Specifies the last row id.

nAbortAt

Specifies the maximum value for the sum. If it is 0, there is no restriction.

Return Value

The total height of the given rows.

Remarks

Computes the total width of the given rows. If the total height exceeds nAbortAt, the method will abort and return this value greater than nAbortAt.

See Also

CGXGridCore::CalcSumOfClientRowHeights

CGXGridCore

Class Overview | Class Members