setFooter

setFooter(fr: Frame) updating;

The setFooter method of the Printer class sets the footer frame to the frame specified in the fr parameter.

To clear the footer, call the setFooter method, passing null as the frame. The footer frame can be changed at any time.

The following example shows the use of the setFooter method.

setupHeaderFooterOrientation(printForm: PrintForm);
begin
    if portrait.value then
        app.printer.orientation := Print_Portrait;
    else
        app.printer.orientation := Print_Landscape;
    endif;
    if header.value then
        app.printer.setHeader(printForm.header);
    else
        app.printer.setHeader(null);
    endif;
    if footer.value then
        app.printer.setFooter(printForm.footer);
    else
        app.printer.setFooter(null);
    endif;
end;