PdfFont Constructor (PdfFontFamily, Single)
|
Initializes a new instance of theclass.
Namespace:
Spire.Pdf.Graphics
Assembly:
Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
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
-
Type:
Spire.Pdf.Graphics
PdfFontFamily
The font family.
-
size
-
Type:
System
Single
The size.
See Also