Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
DynaPDF.Table.AddColumn
Adds a column on the left or right side of the table.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 3.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "DynaPDF.Table.AddColumn"; Table; Left; Width ) More
Parameters
Parameter | Description | Example |
---|---|---|
Table | The identifier for the table. | $Table |
Left | Add the column on the left or right side? | 0 |
Width | The new column width. | 100 |
Result
Returns number of columns or error.
Description
Adds a column on the left or right side of the table.In most cases it is required to change the table width and the widths of the remaining columns after a new column was added. This can be done with DynaPDF.Table.SetTableWidth and DynaPDF.Table.SetColWidth.
If possible, create the table directly with the required number of columns.
If the function succeeds, the return value is new number of columns. If the function fails, the return value is a negative error code.
See also
- DynaPDF.Table.AddRow
- DynaPDF.Table.AddRows
- DynaPDF.Table.ClearColumn
- DynaPDF.Table.SetColor
- DynaPDF.Table.SetColWidth
- DynaPDF.Table.SetTableWidth
This function checks for a license.
Created 18th August 2014, last changed 18th August 2014