Goto:
4C Home
|
4C Docs
|
4C External Libraries Home
|
FCPdf Home
|
FCPdf Function List
TextGetWidth()
TextGetWidth()
Purpose:
-
FCPdf::TextGetWidth() returns the width of the specified text in points.
Usage:
-
-
textwidth = FCPdf::TextGetWidth(<pageident>,<text>);
Arguments:
-
integer <pageident> - A valid FCPdf pagident
-
alpha <text> - The text to return the width.
Returns:
-
float <textwidth> - the width of the text using the current font, word spacing,
and char spacing for the page.
< 0 - Error
Where Used:
-
FCPdf::TextGetWidth() can be called anytime you have a valid FCPdf pageident.
Example:
-
Description:
-
FCPdf::TextGetWidth() returns the width of the specified text in points.
Bugs/Features/Comments:
-
See Also:
See Also
-
FCPdf Function List
Back to Top