PEAR Manual
Prev |  | Next

# Worksheet::setRow

Worksheet::setRow -- This method is used to set the height and XF format for a row.

## Synopsis

    require_once "Spreadsheet/Excel/Writer.php";

``void Worksheet::setRow` (integer $row, integer $height [, mixed $format=0])`

## Description

This method is used to set the height and XF format for a row. Writes the BIFF record ROW.

## Parameter

- `integer $row` - The row to set

- `integer $height` - Height we are giving to the row. Use NULL to set XF without setting height

- `mixed $format` - XF format we are giving to the row

## Note

This function can not be called statically.

## Example

Example 37-1. Using setRow()

Prev | Home | Next
Worksheet::writeUrl | Up | Worksheet::mergeCells