PEAR Manual
Prev |  | Next

# Worksheet::setFooter

Worksheet::setFooter -- Set the page footer caption and optional margin.

## Synopsis

    require_once "Spreadsheet/Excel/Writer.php";

``void Worksheet::setFooter` (string $string [, float $margin=0.5])`

## Description

Set the page footer caption and optional margin.

## Parameter

- `string $string` - The footer text

- `float $margin` - optional foot margin in inches.

## Note

This function can not be called statically.

## Example

Example 37-1. Using setFooter()

Prev | Home | Next
Worksheet::setHeader | Up | Worksheet::centerHorizontally