PEAR Manual
Prev |  | Next

# Worksheet::setHPagebreaks

Worksheet::setHPagebreaks -- Store the horizontal page breaks on a worksheet (for printing).

## Synopsis

    require_once "Spreadsheet/Excel/Writer.php";

``void Worksheet::setHPagebreaks` (array $breaks)`

## Description

Store the horizontal page breaks on a worksheet (for printing). The breaks represent the row after which the break is inserted.

## Parameter

- `array $breaks` - Array containing the horizontal page breaks

## Note

This function can not be called statically.

## Example

Example 37-1. Using setHPagebreaks()

Prev | Home | Next
Worksheet::fitToPages | Up | Worksheet::setVPagebreaks