Initializes a new instance of the class.

Namespace: Spire.Pdf.Graphics
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public PdfFont(
	PdfFontFamily fontFamily,
	float size
)
Public Sub New ( 
	fontFamily As PdfFontFamily,
	size As Single
)
public:
PdfFont(
	PdfFontFamily fontFamily, 
	float size
)
new : 
        fontFamily : PdfFontFamily * 
        size : float32 -> PdfFont

Parameters

fontFamily
PdfFontFamily
The font family.
size
Single
The size.

See Also