Format::setTopColor

Format::setTopColor – Sets the cell's top border color

Synopsis

require_once "Spreadsheet/Excel/Writer.php";

void Format::setTopColor ( mixed $color )

Description

Sets the cell's top border color

Parameter

  • mixed $color - either a string (like 'blue'), or an integer (range is [8...63]).

    Please see the "Using colors" section of the manual for more information.

Note

This function can not be called statically.

Example

Using setTopColor()

<?php

?>