PRIM_PDF.AutoTable - AddColumn Method
Adds a column to the table
Member of PRIM_PDF.AutoTable (PRIM_PDF.AutoTable)
Parameters
Name | Type | Data Type | Description |
|---|---|---|---|
Column | *Input | The AutoTable column |
Details
Adds a column to the table.
Example
Add a column to the table
Define_Com Class(#PRIM_PDF.AutoTable) Name(#Table) Reference(*DYNAMIC) Theme(Striped) Columncount(3)
Define_Com Class(#PRIM_PDF.AutoTableColumn) Name(#CellPhoneCol) Reference(*DYNAMIC)
* Create and set table column properties
#CellPhoneCol <= #Table.CreateColumn
#CellPhoneCol.HeadCaption := 'Cell Phone'
#CellPhoneCol.HeadHAlign := Center
#CellPhoneCol.HAlign := Center
#Table.AddColumn Column(#CellPhoneCol)