PdfTextEngine.MeasureString Method MeasureString(String,PdfFont) Measures the specified string. C#public static PdfSize MeasureString(string s, PdfFont font) Parameters s String String to measure. font PdfFont Font used to display the string.