PDF_stringwidth()
PDF_stringwidth - Return width of text
Syntax
float PDF_stringwidth (
resource $p,
string $text,
int $font,
float $fontsize)
Arguments
- p - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
- text - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
- font - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
- fontsize - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
Description
Returns the width of text in an arbitrary font.
Version
PHP 4, PECL pdflib >= 1.0.0
Return value