Format::setBold

Format::setBold – テキストに太字を設定する

Synopsis

require_once "Spreadsheet/Excel/Writer.php";

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

Description

テキストに太字を設定します。太さの幅は 100 から 1000 で、0 (400) が通常、1 (700) が太字です。

Parameter

  • integer $weight - テキストの重みです。 0 は 400 (通常のテキスト) に割り当てられ、 1 は 700 (太文字のテキスト) に割り当てられています。 有効な範囲は 100 から 1000 までです。 このパラメータはオプションで、デフォルトは 1 (太字) です。

Note

This function can not be called statically.

Example

setBold() の使用法

<?php

?>