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

NameDescription
ComponentClassNameComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT)
ComponentMembersComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT)
ComponentPatternNameComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT)
ComponentTagGeneric space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT)
ComponentTypeComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT)
ComponentTypeNameComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT)
NameName identifies the component Inherited from Object (PRIM_OBJT)
OwnerOwner owns this component Inherited from Object (PRIM_OBJT)
ParentThe 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

NameDescription
CreateInstanceCreateInstance is signalled when an instance of a component is created Inherited from Object (PRIM_OBJT)
DestroyInstanceDestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from Object (PRIM_OBJT)

Methods

NameDescription
addCellAdds a cell to the table row
Value, HAlign, VAlign, FontStyle, FontName, FontSize, TextColor, FillColor
addImageCellAdds 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