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.102.0
Syntax
public double CalculateHeight(
	string text,
	double fontSize,
	double textWidth
)
Double
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