previousFormat::setRight (Previous) (Next) Format::setBorderColornext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

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

?>
previousFormat::setRight (Previous) (Next) Format::setBorderColornext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
Note by: Juan Besa
There are several more styles you can use, for example:
3 -> dashed line
4 -> dotted lines
6 -> double border(thin)