PEAR Manual
Prev |  | Next

# Worksheet::setPrintScale

Worksheet::setPrintScale -- Set the scale factor for the printed page.

## Synopsis

    require_once "Spreadsheet/Excel/Writer.php";

``void Worksheet::setPrintScale` ([integer $scale=100])`

## Description

Set the scale factor for the printed page. It turns off the "fit to page" option

## Parameter

- `integer $scale` - The optional scale factor. Defaults to 100

## Note

This function can not be called statically.

## Example

Example 37-1. Using setPrintScale()

Prev | Home | Next
Worksheet::setZoom | Up | Worksheet::write