PHP Wysardry
PHP Manual

PHP documentation.



Home / PHP / Manual / ...



PHP Manual
Prev Next

pdf_stringwidth

(3.0.6 - 3.0.18 only, PHP 4 >= 4.0.0)

pdf_stringwidth -- Returns width of text using current font

Description

float pdf_stringwidth (int pdf object, string text [, int font [, float size]])

Returns the width of text using the last font set by pdf_setfont(). If the optional parameters font and size are specified, the width will be calculated using that font and size instead. Please note that font is a font handle returned by pdf_findfont().

Note: Both the font and size parameters must used together.

See Also: pdf_setfont() and pdf_findfont().


Prev Manual Home Next
pdf_skew Up pdf_stroke
Site Menu

Amazon.ca
Amazon.com
Amazon.co.uk



Most recently updated on 11 May, 2003

Home / PHP / Manual / ...



Please feel free to contact us with any comments or suggestions
PHP Manual
PHP Wysardry

This site is hosted by Spaceports