Click or drag to resize

PdfiumFPDF_CreateEmbeddedFont Method

Creates a built in 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_CreateEmbeddedFont(
	IntPtr document,
	byte[] data,
	FontCharSet charSet,
	bool bVert
)

Parameters

document  IntPtr
Handle to document. Returned by FPDF_LoadDocument(String, String) and FPDF_CreateNewDocument.
data  Byte
A byte array containing the font program that should be embedded.
charSet  FontCharSet
The character set.
bVert  Boolean
The font is vertical.

Return Value

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