PdfDocumentCreateFontFromData(Byte, Single, FontStyle) Method

Creates a system font with size and style from font data and adds it to PDF document

Definition

Namespace: HiQPdf
Assembly: HiQPdf.NetCore (in HiQPdf.NetCore.dll) Version: 16.0.0
C#
public PdfFont CreateFontFromData(
	byte[] fontData,
	float fontSize,
	FontStyle fontStyle
)

Parameters

fontData  Byte
The font data
fontSize  Single
The font size in points
fontStyle  FontStyle
The font style

Return Value

PdfFont
The PDF font

See Also