PDFReaderControls.NET Professional Type Reference

Font.CalculateLength Method 

Calculate the length of given text. Multiply the result with the font size to get the length in points.

public double CalculateLength(
   string text
);

Parameters

text
Calculate the length of this text.

Return Value

Length in points. Multiply this with the font size to get the length in points.

See Also

Font Class | TallComponents.PDF.Fonts Namespace