PRIM_PDF.AutoTableRow (PRIM_PDF.AutoTableRow)

Represents a row of cells to add to an AutoTable

Ancestors - Object (PRIM_OBJT)

Details

Represents a row of cells to add to an AutoTable

Example

Create a row and add it to the AutoTable
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)
 

Properties

Name Description
ComponentClassName ComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT)
ComponentMembers ComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT)
ComponentPatternName ComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT)
ComponentTag Generic space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT)
ComponentType ComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT)
ComponentTypeName ComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT)
Name Name identifies the component Inherited from Object (PRIM_OBJT)
Owner Owner owns this component Inherited from Object (PRIM_OBJT)
Parent The component instance to which this instance is attached. The visual container for a control or the collector of a set of child instances Inherited from Object (PRIM_OBJT)

Events

Name Description
CreateInstance CreateInstance is signalled when an instance of a component is created Inherited from Object (PRIM_OBJT)
DestroyInstance DestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from Object (PRIM_OBJT)

Methods

Name Description
addCell Adds a cell to the table row
Value, HAlign, VAlign, FontStyle, FontName, FontSize, TextColor, FillColor
addImageCell Adds an image cell to the table row
Bitmap, ImageFileFormat, Width, Height, ImageCompression, Rotation, HAlign, VAlign, FillColor

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020