PdfFontManagerCreateFont(PdfBaseFont, Single, PdfFontStyle) Method

Creates a font from an existing base font using black as the font color

Definition

Namespace: EvoPdf.Next
Assembly: EvoPdf.Next (in EvoPdf.Next.dll) Version: 14.10.0
C#
public static PdfFont CreateFont(
	PdfBaseFont baseFont,
	float fontSize,
	PdfFontStyle style
)

Parameters

baseFont  PdfBaseFont
The base font
fontSize  Single
Font size in points
style  PdfFontStyle
Font style flags

Return Value

PdfFont
A font instance for text rendering

See Also