Click or drag to resize

PdfFontMetricsLeading Property

Gets the recommended leading for this font in PDF font design units. This should be the height of the gap between lines, not the distance between baselines of successive lines. The distance between successive lines will be Ascent - Descent + Leading.

Namespace:  Atalasoft.PdfDoc.Generating.ResourceHandling.Fonts
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public double Leading { get; protected set; }

Property Value

Type: Double
The leading of the font in PDF font design units.
Examples
double lineSpacing = metrics.Ascent - metrics.Descent + metrics.Leading;
See Also