Forum und email

cpdf_set_leading

(PHP 4, PHP 5 <= 5.0.5)

cpdf_set_leading — Sets distance between text lines

Description

bool cpdf_set_leading ( int $pdf_document , float $distance )

Sets the distance between text lines. This will be used if text is output by cpdf_continue_text().

Parameters

pdf_document

The document handle, returned by cpdf_open().

distance

The distance between text lines, as a float

Return values

Palauttaa TRUE onnistuessaan, muutoin FALSE.