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

Using setBorder()

<?php

?>