PdfBaseFontCreateFont(Single, PdfFontStyle, PdfColor) Method
Creates a font using this base font
Namespace: HiQPdf.NextAssembly: HiQPdf.Next (in HiQPdf.Next.dll) Version: 18.9.2
public PdfFont CreateFont(
float fontSize,
PdfFontStyle style,
PdfColor color
)
- fontSize Single
- Font size in points
- style PdfFontStyle
-
Font style flags. Bold and italic are always applied artificially on top of
the underlying font - the font file itself is not changed. To avoid
unintended double-bold or double-italic, pass Normal
when this base font was already loaded from a bold or italic font file
- color PdfColor
- Font color
PdfFontA font instance for text rendering