TE Edit Control Win32 / Win64 Help
Product page

TerCellRotateText

Set the text rotation angle within a table cell.

BOOL TerCellRotateText(hWnd, select, direction, repaint)
HWND hWnd;Handle of the window to be accessed
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 direction;Set it to one of the following values:
TEXT_HORZ:Horizontal text flow.
TEXT_TOP_TO_BOT:Top-to-Bottom vertical text flow.
TEXT_BOT_TO_TOP:Bottom-to-Top vertical text flow.
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.