Selects the band type and the visibility:
bit 1(=1): Creates a header band.
bit 2(=2): Creates a footer band.
The bits 3-5 are only used for headers and footers in groups:
bit 3(=4): Hide at start (headers) and end (footers) of group
bit 4(=8): Also display after (headers) and before page breakes (footers). This bit is used to display sub totals in footers! We recommend to create two footers, one with bit 3 and 4 set, the other with both bits clear.
bit 5(=16): reserved.
The bits 6-7 are only used for header and footers at top level which are used to create document header and footers. If none of these bits is set, the band is always used:
bit 6(=32): Hide text on first page.
bit 7(=64): reserved
bit 8(=128): Show text on odd pages only.
bit 9(=256): Sow text on even pages only.
bit 10(=512): Only use when selected (see RadioGroup)
Example BandType Values:
BANDTYP_HEADER_ALL = 1;
BANDTYP_FOOTER_ALL = 2;
BANDTYP_HEADER_FIRST = BANDTYP_HEADER_ALL + 16;
BANDTYP_FOOTER_FIRST = BANDTYP_FOOTER_ALL + 16;
BANDTYP_FOOTER_LAST = BANDTYP_FOOTER_ALL + 32;
BANDTYP_OVERFLOW_HEADER = BANDTYP_HEADER_ALL + 4+8;
BANDTYP_OVERFLOW_FOOTER = BANDTYP_FOOTER_ALL + 4+8;
When the DB-Description is saved to XML the bits 3 and 4 are converted into bit 1 and 2 of parameter "Usage". The bits 5 to 8 are converted into bit 1 to 4 of the parameter "Visibility"