FontCalculateHeight Method
Calculate the height of the given text in points

Namespace:  TallComponents.PDF.Fonts
Assembly:  TallComponents.PDF.Kit (in TallComponents.PDF.Kit.dll) Version: 4.0.94.0
Syntax
public double CalculateHeight(
	string text,
	double fontSize,
	double textWidth
)

Parameters

text
Type: SystemString
The text that the height will be calculated of.
fontSize
Type: SystemDouble
The font size.
textWidth
Type: SystemDouble
The maximum width of the text.

Return Value

Type: Double
The height in points.
Remarks
The the text will be wrapped so that it fits in the specified width.
See Also