Click or drag to resize

GetFaceNameCallback Delegate

Get face name from a font handle

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public delegate uint GetFaceNameCallback(
	FPDF_SYSFONTINFO pThis,
	IntPtr hFont,
	byte[] buffer,
	uint buf_size
)

Parameters

pThis  FPDF_SYSFONTINFO
Pointer to the interface structure itself
hFont  IntPtr
Font handle returned by MapFont or GetFont method
buffer  Byte
The buffer receiving the face name. Can be NULL if not provided
buf_size  UInt32
Buffer size, can be zero if not provided

Return Value

UInt32
Number of bytes needed, if buffer not provided or not large enough, or number of bytes written into buffer otherwise.
Remarks
Required: No.
See Also