PdfBaseFontCreateFont(Single, PdfFontStyle) Method
Creates a font using this base font with black as the font color
Namespace: HiQPdf.NextAssembly: HiQPdf.Next (in HiQPdf.Next.dll) Version: 18.9.2
public PdfFont CreateFont(
float fontSize,
PdfFontStyle style
)
- 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
PdfFontA font instance for text rendering