PRIM_PDF.AutoTable - CreateRow Method

Creates an AutoTable row

Member of PRIM_PDF.AutoTable (PRIM_PDF.AutoTable)

Parameters

NameTypeData TypeDescription
Result*Result (Optional)PRIM_PDF.AutoTableRowReference to the new AutoTableRow instance

Details

Creates an instance of a PDF AutoTableRow.

Example

Create an AutoTable row
Define_Com Class(#PRIM_PDF.AutoTable) Name(#Table) Reference(*DYNAMIC) Theme(Striped) Columncount(3)
Define_Com Class(#PRIM_PDF.AutoTableRow) Name(#Row) Reference(*DYNAMIC)
 
* Create row
#Row <= #Table.CreateRow
 
* Add cells to row (must match table column count)
#Row.addCell Value(#xContactLastName)
#Row.addCell Value(#xContactFirstName)
#Row.addCell Value(#xContactMobilePhone)
 
* Add row to table
#Table.AddRow Row(#Row)
 

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020