PEAR Manual
Prev |  | Next

# Worksheet::freezePanes

Worksheet::freezePanes -- Set panes and mark them as frozen.

## Synopsis

    require_once "Spreadsheet/Excel/Writer.php";

``void Worksheet::freezePanes` (array $panes)`

## Description

Set panes and mark them as frozen.

## Parameter

- `array $panes` - This is the only parameter received and is composed of the following: 0 => Vertical split position, 1 => Horizontal split position 2 => Top row visible 3 => Leftmost column visible 4 => Active pane

## Note

This function can not be called statically.

## Example

Example 37-1. Using freezePanes()

Prev | Home | Next
Worksheet::setSelection | Up | Worksheet::thawPanes