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

TerCellWidth

Set the cell width and cell margin.

bool TerCellWidth( select, width, margin, 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 width;Cell width in twips unit. Set to -1 to leave this value unchanged.
int margin;Cell Margin in twips unit. Set to -1 to leave this value unchanged.
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.