PdfFontManagerCreateFont(PdfBaseFont, Single) Method

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

Definition

Namespace: Winnovative.Pdf.Next
Assembly: Winnovative.Pdf.Next (in Winnovative.Pdf.Next.dll) Version: 20.10.0
C#
public static PdfFont CreateFont(
	PdfBaseFont baseFont,
	float fontSize
)

Parameters

baseFont  PdfBaseFont
The base font
fontSize  Single
Font size in points

Return Value

PdfFont
A font instance for text rendering

See Also