TABLEROWPARMS structure (richedit.h)

Defines the attributes of rows in a table. The definitions include the corresponding Rich Text Format (RTF) control words, which are defined in the Rich Text Format (RTF) Specification.

Syntax

typedef struct _tableRowParms {
    BYTE  cbRow;
    BYTE  cbCell;
    BYTE  cCell;
    BYTE  cRow;
    LONG  dxCellMargin;
    LONG  dxIndent;
    LONG  dyHeight;
  3 DWORD nAlignment : 3;
  1 DWORD fRTL : 1;
  1 DWORD fKeep : 1;
  1 DWORD fKeepFollow : 1;
  1 DWORD fWrap : 1;
  1 DWORD fIdentCells : 1;
    LONG  cpStartRow;
    BYTE  bTableLevel;
    BYTE  iCell;
} TABLEROWPARMS;

Members

cbRow

Type: BYTE

The count of bytes in this structure.

cbCell

Type: BYTE

The count of bytes in TABLECELLPARMS.

cCell

Type: BYTE

The count of cells in a row, up to the maximum specified by MAX_TABLE_CELLS.

cRow

Type: BYTE

The count of rows.

dxCellMargin

Type: LONG

The size of the left and right margins in a cell (\trgaph).

dxIndent

Type: LONG

The amount of left indentation, or right indentation if the fRTL member is TRUE (similar to \trleft).

dyHeight

Type: LONG

The height of a row (\trrh).

nAlignment

fRTL

fKeep

fKeepFollow

fWrap

fIdentCells

cpStartRow

Type: LONG

The character position that indicates where to insert table. A value of –1 indicates the character position of the selection.

bTableLevel

Type: BYTE

The table nesting level (EM_GETTABLEPARMS only).

iCell

Type: BYTE

The index of the cell to insert or delete (EM_SETTABLEPARMS only).

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Header richedit.h

See also

EM_INSERTTABLE

TABLECELLPARMS