PdfFontCreate Method

Creates a new font using the same base font with the specified size, style, and color

Definition

Namespace: HiQPdf.Next
Assembly: HiQPdf.Next (in HiQPdf.Next.dll) Version: 18.9.2
C#
public PdfFont Create(
	float fontSize,
	PdfFontStyle style,
	PdfColor color
)

Parameters

fontSize  Single
Font size in points
style  PdfFontStyle
Font style flags
color  PdfColor
Font color

Return Value

PdfFont
A font instance for text rendering

See Also