bOk = MTblGetCellMerge( hWndCol, nRow, nrMergeCount )

Deprecated, please use MTblGetCellMergeEx instead.

Retrieves a cell's merge settings.

Parameters
hWndCol
Window Handle: Handle of the column

nRow
Number: Row number

nrMergeCount
Receive Number: Contains the number of merged cells 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 cells:

If MTblGetCellMerge( hWndCol, nRow, nMergeCount )
  Call SalMessageBox( "The cell has " || SalNumberToStrX( nMergeCount, 0 ) || " merged cells.", "Merge info", 0 )

See also
Cell merging
Row merging

Created with the Personal Edition of HelpNDoc: News and information about help authoring tools and software