PdfFontManagerCreateStandardFont Method

Creates a standard built-in PDF font

Definition

Namespace: Winnovative.Pdf.Chromium
Assembly: Winnovative.Pdf.Chromium (in Winnovative.Pdf.Chromium.dll) Version: 19.5.0
C#
public static PdfFont CreateStandardFont(
	PdfStandardFont standardFont,
	float fontSize,
	PdfFontStyle style,
	PdfColor color
)

Parameters

standardFont  PdfStandardFont
The standard font type
fontSize  Single
Font size in points
style  PdfFontStyle
Font style flags
color  PdfColor
Font color

Return Value

PdfFont
A PdfFont instance for use in text elements

See Also