You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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

PRIM_PDF.AutoTableColumn

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)

    See also

    All Component Classes
    Technical Reference
  • No labels