Workbook::&addFormat

Workbook::&addFormat -- Add a new format to the Excel workbook.

Synopsis

require_once "Spreadsheet/Excel/Writer.php";

object reference Workbook::&addFormat ([array $properties=array()])

Description

Add a new format to the Excel workbook. Also, pass any properties to the Format constructor. Valid properties are:

Parameter

Return value

object reference - to an Excel Format

Note

This function can not be called statically.

Example