PEAR Manual
Prev |  | Next

# Worksheet::setMarginTop

Worksheet::setMarginTop -- Set the top margin in inches.

## Synopsis

    require_once "Spreadsheet/Excel/Writer.php";

``void Worksheet::setMarginTop` ([float $margin=1])`

## Description

Set the top margin in inches.

## Parameter

- `float $margin` - The margin to set in inches

## Note

This function can not be called statically.

## Example

Example 37-1. Using setMarginTop()

Prev | Home | Next
Worksheet::setMarginRight | Up | Worksheet::setMarginBottom