Download AreaList Pro User Manual - e-Node

Transcript
Configuring AreaList Pro Using Commands
AL_GetHdrStyle
(areaRef:L; columnNumber:L; fontName:S; size:I; styleNum:I)
Parameter
Type
Description
➞ areaRef
longint
Reference of AreaList Pro object on layout
➞ columnNumber
fontName
integer
Desired list column
string
Name of the font used
size
integer
Size of the font
styleNum
integer
Style of the font
AL_GetHdrStyle returns the formatting options set using the AL_SetHdrStyle routine. For complete
information on the values which are returned, please refer to the AL_SetHdrStyle routine for parameter
descriptions.
The following example will retrieve the information set using the AL_SetHdrStyle routine:
C_LONGINT ($fontSize;$fontStyle)
C_TEXT ($fontName)
AL_GetHdrStyle (eList;1;$fontName;$fontSize;$fontStyle)
AL_SetFtrStyle
(areaRef:L; columnNumber:I; fontName:S; size:I; styleNum:I)
Parameter
Type
Description
➞ areaRef
longint
Reference of AreaList Pro object on layout
➞ columnNumber
➞ fontName
integer
Column for which to set the footer style
string
Name of the font to use
➞ size
integer
Size of the font
➞ styleNum
integer
Style of the font
AL_SetFtrStyle is used to control the appearance of the AreaList Pro column footers. The columns can
be controlled individually or as a group.
columnNumber — This parameter specifies what column footer to apply the style to. Use a value of
zero (0) to apply the parameters to all columns.
fontName — Use this parameter to specify the font for the specified columnNumber. If not called,
or the specified fontName is not found, the footer(s) will be displayed with the default font.
See AL_SetDefaultStyle. If the font specified by fontName is not installed, then the default font will
be used.
AL_GetHdrStyle - AL_SetFtrStyle
82