PRIM_PDF.AutoTable - CreateRow Method
Creates an AutoTable row
Member of PRIM_PDF.AutoTable (PRIM_PDF.AutoTable)
Parameters
Name | Type | Data Type | Description |
|---|---|---|---|
Result | *Result (Optional) | Reference 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)