PDFRasterizer.NET 4.0 is now available. Supports .NET Core. Renders pixel-perfectly.
Product is in Beta
This product is in the beta phase and therefore subject to change.

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 textDouble fontSizeDouble 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.
Download PDFControls.NET 3.0
We will send you a download link

  • This field is for validation purposes and should be left unchanged.
Why do we ask your email address?
We send tips that speed up your evaluation
We let you know about bug fixes
You can always unsubscribe with one click
We never share your address with a 3rd party
Thank you for your download

We have sent an email with a download link.