Prev Next

SOPutTableRowFormat

Sets the format of a row in a table.

VOID SOPutTableRowFormat(

    WORD wLeftEdge,

    WORD wRowHeight,

    WORD wRowHeightType,

    WORD wCellMargin,

    WORD wRowAlignment,

    WORD wNumCells,

    HPROC reserved

   );

Parameters

wLeftEdge
Position, in twips, of the left edge of the table, relative to the left margin.
wRowHeight
Row height, in twips.
wRowHeightType
Type of height for the row. This parameter can be one of these values:

SO_HEIGHTATLEAST

Sets the row height at least as high as that given by wRowHeight.

SO_HEIGHTAUTO

Sets the row height automatically to fit text in the row.

SO_HEIGHTEXACTLY

Sets the row height exactly as given by wRowHeight.

wCellMargin
White space on either side of text in a cell within the specified cell width. It is equal to half the total white space between adjacent cells.
wRowAlignment
Alignment of row within margins. This parameter can be the SO_ALIGNLEFT, SO_ALIGNRIGHT, or SO_ALIGNCENTER value.
wNumCells
Number of cells in the row.
reserved
Reserved; do not use.

Return Values

None.