Method CalculateHeight
Namespace TallComponents.PDF.Fonts
Class Font
Calculate the height of the given text in points
The the text will be wrapped so that it fits in the specified width.
Syntax
public Double CalculateHeight(String text, Double fontSize, Double textWidth)
Returns
Double
The height in points.
Parameters
String
text
The text that the height will be calculated of.
Double
fontSize
The font size.
Double
textWidth
The maximum width of the text.