PEAR Manual
Prev |  | Next

# Format::setBorder

Format::setBorder -- Set cells borders to the same style

## Synopsis

    require_once "Spreadsheet/Excel/Writer.php";

``void Format::setBorder` (integer $style)`

## Description

Set cells borders to the same style

## Parameter

- `integer $style` - style to apply for all cell borders. 1 => thin, 2 => thick.

## Note

This function can not be called statically.

## Example

Example 37-1. Using setBorder()

Prev | Home | Next
Format::setRight | Up | Format::setBorderColor