Forum und email

cpdf_set_leading

(PHP 4, PHP 5 <= 5.0.5)

cpdf_set_leading — テキスト行の間隔を設定する

説明

bool cpdf_set_leading ( int $pdf_document , float $distance )

テキストの行間 distance を設定します。これは cpdf_continue_text() でテキストを出力する場合に使用されます。

パラメータ

pdf_document

cpdf_open() が返す、ドキュメントのハンドル。

distance

テキストの行間隔を表す float 値。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。