Click or drag to resize

PdfFont(PdfFontFace, Double) Constructor

Initializes a new instance of the PdfFont class from the specified font face and font size.

Namespace: SautinSoft.Pdf.Content
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2026.7.1
Syntax
public PdfFont(
	PdfFontFace face,
	double size
)

Parameters

face  PdfFontFace
The font face.
size  Double
The font size.
Exceptions
ExceptionCondition
ArgumentNullExceptionface cannot be .
ArgumentOutOfRangeExceptionsize is less than 0.
ArgumentExceptionsize is either NaN, NegativeInfinity or PositiveInfinity.
See Also