PDFRasterizer.NET 4.0 is now available. Supports .NET Core. Renders pixel-perfectly.

Property BaselineOffset

Namespace TallComponents.PDF.Fonts
Class Font

The distance in points between the lower extreme of a font and the visual baseline for a font of size 1 pt. Multiply the value of this property by the font size to get the distance in points.

This property can be used to vertically align multiple TextShape instances with different heights.

For TrueType this value is : - YMin (notice that YMin is most likely negative, so returning a positive value).

Syntax

public Double BaselineOffset { get; }

Property value

Double

Download PDFKit.NET 5.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.