TE Edit Control .NET Core / .NET Framework Help
Product page

TerCellVertAlign

Set the vertical alignment for the text inside a table cell.

bool TerCellVertAlign( select, align, repaint)
int select;Cell selection for this operation:
SEL_ALL:Select the entire table
SEL_CELLS: Select the current cell or all highlighted cells
SEL_COLS:Select the current column or all highlighted columns
SEL_ROWS:Select the current row or all highlighted rows

Set the 'select' parameter to 0 to invoke the user selection dialog box.

int align;Set this parameter to 0 to use the default 'top' alignment, or set it to one of the following values:
CFLAG_VALIGN_CTR:Center alignment
CFLAG_VALIGN_BOT:Bottom alignment
CFLAG_VALIGN_BASE:Align base line of the text
bool repaint;true to repaint the screen after this operation

Description: The cursor must be positioned in a table cell before calling this function.

Return Value: This function returns a true value if successful.