API Documentation > Miscellaneous > Object ProTable > Function ProTableColumnAdd
Function ProTableColumnAdd
Description
Adds column to a table
Synopsis
#include <ProTable.h>
ProTableColumnAdd
(
ProTable* table
/* (In)
the table;
*/
int insert_after_col
/* (In)
insert the new column after this column. Column numbers start with 1. If you want the new column to be the first column, pass the value 0. To Append at last pass value less that 0.(any negative Value)
*/
int display
/* (In)
Flag that specifies whether or not the table is to be displayed after creation.
*/
double width_in_chars
/* (In)
The width of the column, in characters. Pass -1 to take value of previous column and first column in case of add at start.
*/
)
Returns
Success.
Failure.
The object or model can't be modified.
User Guide References
Was this helpful?