DynaPDF.Table.AddRows
---------------------

Adds new rows to the table.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [DynaPDF](component_DynaPDF.md) | [3.5](newinversion35.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "DynaPDF.Table.AddRows"; Table; Count; Height ) 

**MBS**( **"DynaPDF.Table.AddRows";** /\* Adds new rows to the table. \*/  
**$Table**; /\* The identifier for the table. \*/   
**$Count**; /\* Number of rows.e.g. 1 \*/   
**$Height**) /\* The default height of the row. or -1 toe.g. -1 \*/ 

### 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](DynaPDFTableCreate.md).  
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](DynaPDFTableSetCellOrientation.md) for further information.  
### See also

- [DynaPDF.Table.AddColumn](DynaPDFTableAddColumn.md)
- [DynaPDF.Table.AddRow](DynaPDFTableAddRow.md)
- [DynaPDF.Table.ClearRow](DynaPDFTableClearRow.md)
- [DynaPDF.Table.Create](DynaPDFTableCreate.md)
- [DynaPDF.Table.DeleteRows](DynaPDFTableDeleteRows.md)
- [DynaPDF.Table.GetNumRows](DynaPDFTableGetNumRows.md)
- [DynaPDF.Table.SetCellOrientation](DynaPDFTableSetCellOrientation.md)
- [DynaPDF.Table.SetFont](DynaPDFTableSetFont.md)

This function checks for a license.

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

  
[DynaPDF.Table.AddRow](DynaPDFTableAddRow.md) - [DynaPDF.Table.ClearColumn](DynaPDFTableClearColumn.md)

[HTML Version](DynaPDFTableAddRows.shtml)