PEAR Manual
Prev |  | Next

# Worksheet::setPaper

Worksheet::setPaper -- Set the paper type. Ex. 1 = US Letter, 9 = A4

## Synopsis

    require_once "Spreadsheet/Excel/Writer.php";

``void Worksheet::setPaper` ([integer $size=0])`

## Description

Set the paper type. Ex. 1 = US Letter, 9 = A4

## Parameter

- `integer $size` - The type of paper size to use

## Note

This function can not be called statically.

## Example

Example 37-1. Using setPaper()

Prev | Home | Next
Worksheet::setLandscape | Up | Worksheet::setHeader