Parameters
- text
- String to measure.
- font
- PdfFont that defines the text format of the string.
- height
- Text string height.
- maxWidth
- Maximum width of text string.
- width
- Text string width.
- fontSize
- Font size.
- wordWrap
- A value indicating whether to enable automatic word wrap to the beginning of the next line when necessary.