 | GetFontCallback Delegate |
Get a handle to a particular font by its internal ID
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic delegate IntPtr GetFontCallback(
FPDF_SYSFONTINFO pThis,
string face
)
Public Delegate Function GetFontCallback (
pThis As FPDF_SYSFONTINFO,
face As String
) As IntPtr
public delegate IntPtr GetFontCallback(
FPDF_SYSFONTINFO^ pThis,
String^ face
)
type GetFontCallback =
delegate of
pThis : FPDF_SYSFONTINFO *
face : string -> IntPtr
/** @delegate */
public delegate IntPtr GetFontCallback(
FPDF_SYSFONTINFO pThis,
String face
)
Parameters
- pThis FPDF_SYSFONTINFO
- Pointer to the interface structure itself
- face String
- Typeface name. Currently use system local encoding only.
Return Value
IntPtrAn opaque pointer for font handle.
RemarksRequired only if
MapFont method is not implemented.
If the system mapping not supported, Pdfium SDK will do the font mapping and use this method to get a font handle.
See Also