pdf_stringwidth Returns width of text using current font Description floatpdf_stringwidth intpdf_object stringtext intfont floatsize 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. Both the font and size parameters must used together. See Also: pdf_setfont and pdf_findfont.