HiQPdf Documentation

AutoPdfFormFieldSetFont Method (String, FontStyle, Boolean)

Quickly Create High Quality PDFs
Use a font given by its family name and style

Namespace:  HiQPdf
Assembly:  HiQPdf (in HiQPdf.dll) Version: 15.0.0.0
Syntax

public void SetFont(
	string familyName,
	FontStyle fontStyle,
	bool embed
)

Parameters

familyName
Type: SystemString
The font family name
fontStyle
Type: System.DrawingFontStyle
The font style
embed
Type: SystemBoolean
A flag indicating if the system font will be embedded in PDF. Only the PDF form submit buttons support embedded system fonts.
See Also

Reference