 | FFI_OutputSelectedRectCallback Delegate |
When user is taking the mouse to select texts on a form field, this callback function will keep returning the selected areas to the implementation.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic delegate void FFI_OutputSelectedRectCallback(
FPDF_FORMFILLINFO pThis,
IntPtr page,
double left,
double top,
double right,
double bottom
)
Public Delegate Sub FFI_OutputSelectedRectCallback (
pThis As FPDF_FORMFILLINFO,
page As IntPtr,
left As Double,
top As Double,
right As Double,
bottom As Double
)
public delegate void FFI_OutputSelectedRectCallback(
FPDF_FORMFILLINFO^ pThis,
IntPtr page,
double left,
double top,
double right,
double bottom
)
type FFI_OutputSelectedRectCallback =
delegate of
pThis : FPDF_FORMFILLINFO *
page : IntPtr *
left : float *
top : float *
right : float *
bottom : float -> unit
/** @delegate */
public delegate void FFI_OutputSelectedRectCallback(
FPDF_FORMFILLINFO pThis,
IntPtr page,
double left,
double top,
double right,
double bottom
)
function(pThis, page, left, top, right, bottom);
Parameters
- pThis FPDF_FORMFILLINFO
- Pointer to the interface structure itself.
- page IntPtr
- Handle to the page. Returned by FPDF_LoadPage(IntPtr, Int32) function.
- left Double
- Left position of the client area in PDF page coordinate.
- top Double
- Top position of the client area in PDF page coordinate.
- right Double
- Right position of the client area in PDF page coordinate.
- bottom Double
- Bottom position of the client area in PDF page coordinate.
RemarksRequired: No. This CALLBACK function is useful for implementing special text selection effect. Implementation should
first records the returned rectangles, then draw them one by one at the painting period, last,remove all
the recorded rectangles when finish painting.
See Also