Download AreaList Pro User Manual - e-Node
Transcript
Configuring AreaList Pro Using Commands AL_SetHeight (areaRef:L; numHeaderLines:I; headerHeightPad:I; numRowLines:I; rowHeightPad:I; numFooterLines:I; footerHeightPad:I) Parameter Type Description ➞ areaRef longint Reference of AreaList Pro object on layout ➞ numHeaderLines ➞ headerHeightPad integer Number of text lines in the header integer Extra height for the header ➞ numRowLines integer Number of text lines in each row ➞ rowHeightPad ➞ numFooterLines integer Extra height for each row integer Number of text lines in the footer ➞ footerHeightPad integer Extra height for the footer AL_SetHeight is used to set the number of lines of text along with additional height padding in the header, in the rows, and in the footer. Only text and string columns can wrap to more than one line. If numRowLines is set to 2 or more, text and string elements will be able to wrap into the number of lines specified for each row. Note that all rows will be given the same number of lines regardless of the actual number of lines used by a specific text or string element. Additional padding may be set using rowHeightPad to allow more space between rows. Text will be centered vertically in the header or row. Note that the padding applies to the entire row and not on a line by line basis within the row. numHeaderLines — The number of lines in the header. Default is 1. headerHeightPad — The extra height, in pixels, to give to the header. Default is 2. numRowLines — The number of lines to give to each row. Default is 1. rowHeightPad — The extra height, in pixels, to give to each row. Default is 0. numFooterLines — The number of lines to give to the footer. Default is 1. footerHeightPad — The extra height, in pixels, to give to the footer. Default is 2. Examples: AL_SetHeight (eList;1;4;1;2;1;4) `pad the header by 4 pixels, the rows by 2, the footers by 4 AL_SetHeight (eList;2;5;2;0;2;0) `set header lines to 2, pad to 5 pixels, set row lines to 2, no padding, set footer lines to 2, no padding AL_SetHeight 136