PRIM_PDF.AutoTable - CreateColumn Method

Creates an AutoTable column

Member of PRIM_PDF.AutoTable (PRIM_PDF.AutoTable)

Parameters

Name

Type

Data Type

Description

Result

*Result (Optional)

PRIM_PDF.AutoTableColumn

Reference to the new AutoTableColumn instance

Details

Creates an instance of a PDF AutoTableColumn.

Example

Create an AutoTable column

     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.CreateColumn Column(#CellPhoneCol)

See also

All Component Classes

Technical Reference