Class PdfFont
- Namespace
- SoftZenPdf
- Assembly
- SoftZenPdf.dll
A font that text can be drawn with: a StandardFont or an embedded TrueTypeFont.
public abstract class PdfFont
- Inheritance
-
PdfFont
- Derived
- Inherited Members
Methods
- MeasureText(string, double)
Measures the width of a single line of text as it is drawn, including kerning and, for TrueType fonts, ligatures. Use it to align, centre, wrap or underline text.