PRIM_PDF.AutoTableColumn (PRIM_PDF.AutoTableColumn)

PDF generator AutoTable column

Ancestors - Object (PRIM_OBJT)

Details

AutoTableColumn defines the properties of a table column

Example

Creating an setting properties of an AutoTable column
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)

Properties

NameDescription
CellWidthThis column's cell width
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)
FillColorThe background color for this column's body content
FontNameThe font for this column's body content
FontSizeThe font size for this column's body content
FontStyleThe font style for this column's body content
HAlignThe horizontal alignment of text in this column's cells
HeadCaptionThe column's head caption
HeadFillColorThe background color for this column's head
HeadFontNameThe font for this column's head
HeadFontSizeThe font size for this column's head
HeadFontStyleThe font style for this column's head
HeadHAlignThe horizontal alignment of text in this column's head
HeadTextColorText color for this column's head
HeadVAlignThe vertical alignment of text in this column's head
MinCellWidthThe column's minimum cell width
NameName identifies the component Inherited from Object (PRIM_OBJT)
OverflowAction to take when content overflows this column's cell width
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)
TextColorText color for this column's body content
VAlignThe vertical alignment of text in this column's cells

Events

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

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020