PdfFontManagerCreateFont(PdfBaseFont, Single, PdfColor) Method

Creates a font from an existing base font using the normal style

Definition

Namespace: HiQPdf.Next
Assembly: HiQPdf.Next (in HiQPdf.Next.dll) Version: 18.9.2
C#
public static PdfFont CreateFont(
	PdfBaseFont baseFont,
	float fontSize,
	PdfColor color
)

Parameters

baseFont  PdfBaseFont
The base font
fontSize  Single
Font size in points
color  PdfColor
Font color

Return Value

PdfFont
A font instance for text rendering

See Also