PEAR Manual
Prev |  | Next

# Worksheet::printArea

Worksheet::printArea -- Set the area of each worksheet that will be printed.

## Synopsis

    require_once "Spreadsheet/Excel/Writer.php";

``void Worksheet::printArea` (integer $first_row, integer $first_col, integer $last_row, integer $last_col)`

## Description

Set the area of each worksheet that will be printed.

## Parameter

- `integer $first_row` - First row of the area to print

- `integer $first_col` - First column of the area to print

- `integer $last_row` - Last row of the area to print

- `integer $last_col` - Last column of the area to print

## Note

This function can not be called statically.

## Example

Example 37-1. Using printArea()

Prev | Home | Next
Worksheet::repeatColumns | Up | Worksheet::hideGridlines