Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

DynaPDF.Table.AddRows

Adds new rows to the table.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 3.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.Table.AddRows"; Table; Count; Height )   More

Parameters

Parameter Description Example
Table The identifier for the table. $Table
Count Number of rows. 1
Height The default height of the row. or -1 to -1

Result

If the function succeeds, the return value is new number of rows in the table. If the function fails, the return value is a negative error code.

Description

Adds new rows to the table.
The parameter Height can be set to a negative value to indicate that the default row height should be used. The default row height was specified in DynaPDF.Table.Create.
The specified height represents the minumum height of each row. If the height of a foreground object is larger, then the row height will be adjusted.
The height is sometimes required. This is the case if a cell is rotated by 90 or a multiple of 90 degrees and if the height cannot be computed from the cell contents, e.g. if a cell contains text and if the flag NoLineBreak is absent. See DynaPDF.Table.SetCellOrientation for further information.

See also

This function checks for a license.

Created 18th August 2014, last changed 18th August 2014


DynaPDF.Table.AddRow - DynaPDF.Table.ClearColumn