Name

addFooter( ) — add a textual footer to a document

Synopsis

$doc->addFooter( text=>$text,
                    font=>$font, 
                    size=>$size, 
                    leading=>$leading  )

The addFooter( ) method allows you to specify a footer that will appear at the bottom of each page of the document. This footer will be drawn in the bottom margin of the page, with the same right and left margins as the page. Only that portion of the footer that fits in the bottom margin will be printed. If the font , size ,or leading attributes are not provided, the default attributes for the TextBlock object are used.

The page numbers of individual pages may be included in the footer with the ##Page string, as described for the addHeader( ) method.

Get Programming Web Graphics with Perl and GNU Softwar now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.