Skip to content

TallComponents.UnoPdf.Client

TallComponents.UnoPdf.Client.Models.Pdf.Fonts.FontModel

FontModel.BaselineOffset Property

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 with the font size to get the distance in points.

csharp
public double BaselineOffset { get; set; }

Property Value

System.Double

Remarks

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).