PdfFontManagerCreateRegisteredFont(String, Single, PdfColor) Method
Creates a font from a registered font name or alias using the normal style
Namespace: Winnovative.Pdf.NextAssembly: Winnovative.Pdf.Next (in Winnovative.Pdf.Next.dll) Version: 20.10.0
public static PdfFont CreateRegisteredFont(
string fontNameOrAlias,
float fontSize,
PdfColor color
)
- fontNameOrAlias String
-
The name or alias under which the font was registered. Accepted values are:
a family name (e.g. "Arial", "Calibri"),
a full font name (e.g. "Arial Bold", "Calibri Light"),
or a custom alias registered via RegisterFont(String, String).
Use GetRegisteredFamilies to list available family names
and GetRegisteredFonts to list available full names
- fontSize Single
- Font size in points
- color PdfColor
- Font color
PdfFontA font instance for text rendering