 | Field_browse_callback Delegate |
Show a file selection dialog, and return the selected file path.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic delegate int Field_browse_callback(
IPDF_JSPLATFORM pThis,
IntPtr filePath,
int length
)
Public Delegate Function Field_browse_callback (
pThis As IPDF_JSPLATFORM,
filePath As IntPtr,
length As Integer
) As Integer
public delegate int Field_browse_callback(
IPDF_JSPLATFORM^ pThis,
IntPtr filePath,
int length
)
type Field_browse_callback =
delegate of
pThis : IPDF_JSPLATFORM *
filePath : IntPtr *
length : int -> int
/** @delegate */
public delegate int Field_browse_callback(
IPDF_JSPLATFORM pThis,
IntPtr filePath,
int length
)
function(pThis, filePath, length);
Parameters
- pThis IPDF_JSPLATFORM
- Pointer to the interface structure itself.
- filePath IntPtr
- Pointer to the data 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.
RemarksRequired: Yes. The filePath shoule be always input in local encoding.
See Also