bOk = MTblGetCellMergeEx( hWndCol, nRow, nrMergedCols, nrMergedRows )

Retrieves a cell's extended merge settings.

Parameters
hWndCol
Window Handle: Handle of the column

nRow
Number: Row number

nrMergedCols
Receive Number: Contains the number of merged cells if the function returns successfully

nrMergedRows
Receive Number: Contains the number of merged rows if the function returns successfully

Return
Boolean: TRUE if successful or FALSE if an error occurs

Example
In this example we check whether a cell has merged columns and/or rows:

If MTblGetCellMergeEx( hWndCol, nRow, nMergedCols, nMergedRows )
 Call SalMessageBox( "The cell has " || SalNumberToStrX( nMergedCols, 0 ) || " merged columns and " || SalNumberToStrX( nMergedRows, 0 ) || " merged rows.", "Merge info", 0 )

See also
Cell merging
Row merging

Created with the Personal Edition of HelpNDoc: Easily create CHM Help documents