Parameters
- text
- String to measure.
- font
- PdfFont that defines the text format of the string.
- textWidth
- Maximum width of the string in user units (1 / 72 inch).
- textHeight
- Maximum height, in user units (1 / 72 inch), of the layout area for the text.
- lineSpacing
- The line spacing.
Return Value
Measured font size.