Click or drag to resize

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.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public delegate void FFI_OutputSelectedRectCallback(
	FPDF_FORMFILLINFO pThis,
	IntPtr page,
	double left,
	double top,
	double right,
	double 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.
Remarks
Required: 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