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 CalculateWidth

Namespace TallComponents.PDF.Fonts
Class Font

Calculate the width of given text in points.


public Double CalculateWidth(String textDouble fontSize)



Width in points.


String text
The text that the height will be calculated of.

Double fontSize
The font size.
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.