 | GetFaceNameCallback Delegate |
Get face name from a font handle
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic delegate uint GetFaceNameCallback(
FPDF_SYSFONTINFO pThis,
IntPtr hFont,
byte[] buffer,
uint buf_size
)
Public Delegate Function GetFaceNameCallback (
pThis As FPDF_SYSFONTINFO,
hFont As IntPtr,
<OutAttribute> buffer As Byte(),
buf_size As UInteger
) As UInteger
public delegate unsigned int GetFaceNameCallback(
FPDF_SYSFONTINFO^ pThis,
IntPtr hFont,
[InAttribute] [OutAttribute] array<unsigned char>^ buffer,
unsigned int buf_size
)
type GetFaceNameCallback =
delegate of
pThis : FPDF_SYSFONTINFO *
hFont : IntPtr *
buffer : byte[] byref *
buf_size : uint32 -> uint32
/** @delegate */
public delegate UInt32 GetFaceNameCallback(
FPDF_SYSFONTINFO pThis,
IntPtr hFont,
/** @attribute InAttribute */ /** @attribute OutAttribute */ byte[] buffer,
UInt32 buf_size
)
function(pThis, hFont, buffer, 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
UInt32Number of bytes needed, if buffer not provided or not large enough, or number of bytes written into buffer otherwise.
RemarksRequired: No.
See Also