void Format::setBold (
integer $weight=1
)
Sets the boldness of the text. Bold has a range 100..1000. 0 (400) is normal. 1 (700) is bold.
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).
This function can not be called statically.
Using setBold()
<?php
?>