PRIM_PDF.AutoTable - CreateColumn Method

Creates an AutoTable column

Member of PRIM_PDF.AutoTable (PRIM_PDF.AutoTable)

Parameters

NameTypeData TypeDescription
Result*Result (Optional)PRIM_PDF.AutoTableColumnReference 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

LANSA Version 15, April 2020