previousWorksheet::fitToPages (Previous) (Next) Worksheet::setVPagebreaksnext

View this page in Last updated: Tue, 02 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

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

Using setHPagebreaks()

<?php

?>
previousWorksheet::fitToPages (Previous) (Next) Worksheet::setVPagebreaksnext

Download Documentation Last updated: Tue, 02 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
Note by: peter@onlinecounsellors.co.uk
So as you don't waste time like I did, setpagebreaks has no effect in Excel if you have already used fitToPages