PEAR Manual
Prev |  | Next

# Worksheet::setPortrait

Worksheet::setPortrait -- Set the page orientation as portrait.

## Synopsis

    require_once "Spreadsheet/Excel/Writer.php";

``void Worksheet::setPortrait` ()`

## Description

Set the page orientation as portrait.

## Note

This function can not be called statically.

## Example

Example 37-1. Using setPortrait()

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