Method PDF.PDFgen()->stringwidth() Method stringwidth float stringwidth(string text, int font, float size)