Object ProTable

Function ProTableColumnAdd


Description
Adds column to a table
Synopsis
#include <ProTable.h>
ProErrorProTableColumnAdd(
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
PRO_TK_NO_ERRORSuccess.
PRO_TK_GENERAL_ERRORFailure

Manual References:

  1. Technical Summary of Changes for Creo 11.0.0.0: Model-based Definition Tables
  2. Technical Summary of Changes for Creo 11.0.0.0: Functions superseded from Creo 1.0 to Creo 11.0
  3. Model-Based Definition and Drawing Tables: Modifying MBD or Drawing Tables
  4. Model-Based Definition and Drawing Tables: Modifying MBD or Drawing Tables