PdfDocumentCreateFontFromName Method

Creates a PDF font based on a font family name with given size and embedding option

Definition

Namespace: HiQPdfClient
Assembly: HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 16.0.0
C#
public PdfFont CreateFontFromName(
	string familyName,
	float fontSize,
	bool embedFont
)

Parameters

familyName  String
Font family name
fontSize  Single
Font size in points
embedFont  Boolean
Embed font in PDF

Return Value

PdfFont
The PDF font

See Also