Click or drag to resize

PdfFontMetricsLineSpacing Method

Measures the line spacing for a font in a given point size.

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 LineSpacing(
	double pointSize
)

Parameters

pointSize
Type: SystemDouble
Size of the point.

Return Value

Type: Double
The line spacing in PDF units
Remarks
This is equivalent to:
(Ascent - Descent + Leading) * pointSize / 1000.0
If Leading is less than or equal to 0, it will be replaced with 1.25 * Descent.
See Also