PdfFontManagerCreateFont(String, Single, PdfFontStyle) Method

Creates a font from a font file using black as the font color

Definition

Namespace: HiQPdf.Next
Assembly: HiQPdf.Next (in HiQPdf.Next.dll) Version: 18.9.2
C#
public static PdfFont CreateFont(
	string fontPath,
	float fontSize,
	PdfFontStyle style
)

Parameters

fontPath  String
The path to the font file
fontSize  Single
Font size in points
style  PdfFontStyle
Font style flags

Return Value

PdfFont
A font instance for text rendering

See Also