Skip to main content

AddElement

Adds a paragraph or a table or a blockLvl content control using its position in the cell.

Syntax

expression.AddElement(oCell, nPos, oElement);

expression - A variable that represents a ApiTable class.

Parameters

NameRequired/OptionalData typeDefaultDescription
oCellRequiredApiTableCellThe cell where the specified element will be added.
nPosRequirednumberThe position in the cell where the specified element will be added.
oElementRequiredDocumentElementThe document element which will be added at the current position.

Returns

This method doesn't return any data.