PHP cpdf_stringwidth function
Like this blog? Consider exploring one of our sponsored banner ads...
cpdf_stringwidth
(PHP 3 >= 3.0.8, PHP 4, PHP 5 <= 5.0.4)
cpdf_stringwidth — Returns width of text in current fontDescriptionfloat cpdf_stringwidth ( int pdf_document, string text )
Returns the width of the string in text.
This function requires a font to be set before.
pdf_document
The document handle, returned by
cpdf_open().
The text, as a string
Return Values
Returns the width of text.
cpdf_set_font()
About this entry
You’re currently reading “PHP cpdf_stringwidth function,” an entry on BRADINO
- Published:
- 2.26.07 / 1am
- Category:
- PHP Functions
- Tags:
No comments
Jump to comment form | comments rss [?] | trackback uri [?]