PdfFontManagerCreateFont(String, Single, PdfFontStyle, PdfColor) Method
Creates a font from a font file
Namespace: HiQPdf.NextAssembly: HiQPdf.Next (in HiQPdf.Next.dll) Version: 18.9.2
public static PdfFont CreateFont(
string fontPath,
float fontSize,
PdfFontStyle style,
PdfColor color
)
- fontPath String
- The path to the font file
- fontSize Single
- Font size in points
- style PdfFontStyle
- Font style flags
- color PdfColor
- Font color
PdfFontA font instance for text rendering