Click or drag to resize

PdfiumFPDF_AddWindowsFont Method

Creates a font that has the specified characteristics.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static IntPtr FPDF_AddWindowsFont(
	IntPtr document,
	LOGFONT logfont,
	bool bVert,
	bool bTranslateName
)

Parameters

document  IntPtr
Handle to document. Returned by FPDF_LoadDocument(String, String) and FPDF_CreateNewDocument.
logfont  LOGFONT
The LOGFONT structure that defines the characteristics of the font.
bVert  Boolean
The font is vertical
bTranslateName  Boolean
Translate names for CJK fonts

Return Value

IntPtr
Handle to newly created font or IntPtr.Zero if any error occurs.
See Also