Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

TABLEROWPARMS structure

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;
  DWORD nAlignment:3;
  DWORD fRTL:1;
  DWORD fKeep:1;
  DWORD fKeepFollow:1;
  DWORD fWrap: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:3

Type: DWORD

Row alignment \trql, trqr, \trqc)

ValueMeaning
PFA_CENTER

The rows are centered.

PFA_LEFT

The rows are aligned with the left margin.

PFA_RIGHT

The rows are aligned with the right margin.

 

fRTL:1

Type: DWORD

Display cells in right-to-left order (\rtlrow).

fKeep:1

Type: DWORD

Keep rows together (\trkeep).

fKeepFollow:1

Type: DWORD

Keep the row on the same page as the following row (\trkeepfollow).

fWrap:1

Type: DWORD

Wrap text to the right or left, depending on bAlignment (see \tdfrmtxtLeftN and \tdfrmtxtRightN).

fIdentCells:1

Type: DWORD

Indent cells.

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

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

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.