previousFormat::setMerge (Previous) (Next) Format::setBottomnext

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

Format::setBold

Format::setBold – Sets the boldness of the text.

Synopsis

require_once "Spreadsheet/Excel/Writer.php";

void Format::setBold ( integer $weight=1 )

Description

Sets the boldness of the text. Bold has a range 100..1000. 0 (400) is normal. 1 (700) is bold.

Parameter

  • integer $weight - Weight for the text, 0 maps to 400 (normal text) 1 maps to 700 (bold text). Valid range is: 100-1000 It's Optional, default is 1 (bold).

Note

This function can not be called statically.

Example

Using setBold()

<?php

?>
previousFormat::setMerge (Previous) (Next) Format::setBottomnext

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:
There are no user contributed notes for this page.