Help Center

CRichEditCtx.GetTableParamsmethod

Retrieves the table parameters for a table row and the cell parameters for the specified number of cells.

Windowsmethoddocumented

Syntax

FUNCTION GetTableParams (BYREF tp AS TABLEROWPARMS, BYREF tcp AS TABLECELLPARMS) AS DWORD

Parameters

NameDescription
tpA TABLEROWPARMS structure.
tcpA TABLECELLPARMS structure.

Return value

Returns S_OK if successful, or one of the following error codes.

Description

Retrieves the table parameters for a table row and the cell parameters for the specified number of cells.

Remarks

This method gets the table parameters for the row at the character position specified by the cpStartRow member of the TABLEROWPARMS structure, and the number of cells specified by the cCells member of the TABLECELLPARMS structure.

The character position specified by the cpStartRow member of the TABLEROWPARMS structure should be at the start of the table row, or at the end delimiter of the table row. If cpStartRow is set to 1, the character position is given by the current selection. In this case, position the selection at the end of the row (between the cell mark and the end delimiter of the table row), or select the row.

Reference

  • Defined in AfxNova/CRichEditCtx.inc:2355
  • Documented in Windows/WIndows Controls/RichEdit/CRichEditCtx Class.md
  • Topic: CRichEditCtx Class