 | Doc_getFilePath_callback Delegate |
Get the file path of the current document.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic delegate int Doc_getFilePath_callback(
IPDF_JSPLATFORM pThis,
IntPtr filePath,
int length
)
Public Delegate Function Doc_getFilePath_callback (
pThis As IPDF_JSPLATFORM,
filePath As IntPtr,
length As Integer
) As Integer
public delegate int Doc_getFilePath_callback(
IPDF_JSPLATFORM^ pThis,
IntPtr filePath,
int length
)
type Doc_getFilePath_callback =
delegate of
pThis : IPDF_JSPLATFORM *
filePath : IntPtr *
length : int -> int
/** @delegate */
public delegate int Doc_getFilePath_callback(
IPDF_JSPLATFORM pThis,
IntPtr filePath,
int length
)
function(pThis, filePath, length);
Parameters
- pThis IPDF_JSPLATFORM
- Pointer to the interface structure itself
- filePath IntPtr
- The string buffer to receive the file path. Can be NULL.
- length Int32
- The length of the buffer, number of bytes. Can be 0.
Return Value
Int32Number of bytes the filePath consumes, including trailing zeros.
Remarks
Required: Yes.
The filePath should be always input in local encoding.
The return value always indicated number of bytes required for the buffer, even when there is
no buffer specified, or the buffer size is less then required. In this case, the buffer will not be modified.
See Also