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