PdfFontManagerCreateFont(String, Single) Method

Creates a font from a font file using the normal style and 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(
	string fontPath,
	float fontSize
)

Parameters

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

Return Value

PdfFont
A font instance for text rendering

See Also