CGXGridCore::GetMergedCellsRowCol

CGXRange* GetMergedCellsRowCol(ROWCOL nRow, ROWCOL nCol, CGXRange& range, int mtType = -1);

nRow

Specifies the row id.

nCol

Specifies the column id.

range

A reference to a range where the result will be stored.

mtType

  • Specifies type of merging:

  • mtVert if only vertically merged cells shall be checked

  • mtHorz if only horizontally merged cells shall be checked

–1 if both horizontally and vertically merged cells shall be checked

Return Value

Returns a pointer to range with the merged cell. If it is NULL, no merged cell could be found.

Remarks

Call this method if you want to check if a cell is a merged cell.

Control-Factory Specific ->

This method has been implemented using the abstraction mechanism as discussed in the chapter "Reducing the size of your application" in the user's guide. A call to the ImplementMergeCells method from within the control factory class' InitializeGridComponents method will make the concrete implementation of this method available to your application.

If no concrete implementation is available this method returns NULL.

END Control-Factory Specific

See Also

 CGXGridCore::SetMergeCellsMode

CGXGridCore

 Class Overview |  Class Members