PdfFontManagerCreateFont(String, Single, PdfColor) Method

Creates a font from a font file using the normal style

Definition

Namespace: EvoPdf.Next
Assembly: EvoPdf.Next (in EvoPdf.Next.dll) Version: 14.10.0
C#
public static PdfFont CreateFont(
	string fontPath,
	float fontSize,
	PdfColor color
)

Parameters

fontPath  String
The path to the font file
fontSize  Single
Font size in points
color  PdfColor
Font color

Return Value

PdfFont
A font instance for text rendering

See Also