Function TParagraph.AppendNewCell(DontCopyStyle:Boolean; colspan:Integer) : TParagraph

Unit: WPRTEDefs
Class: WPRTEDefs.TParagraph

Parameters

  • DontCopyStyle:Boolean
  • colspan:Integer

Returns

The type of the result value is TParagraph.

Description

Creates a new cell after the current cell or in this row. If this paragraph is a sub paragraph of a cell (multiple paragraphs in one cell!) the cell will be appended after the parent cell. With the optional second parameter colspan you can create additional cells which are connected to the first through the colspan flag. To create a cell which is 3 columns wide use colspan=3. The value 0 and 1 are neutral and will not create any colspan, but with colspan>0 the function will automatically append a cell after the current colspan run.
See for example code.