virtual L_INT LPDFCompressor::ImageCallBack (nPage, pSegment)
This callback function is called every time a segment is added to the PDF document.
Index of the page on which the segment is being written. This is a zero-based index.
Pointer to the SEGMENTINFO structure that contains the segment information.
|SUCCESS||Add the current segment and continue.|
|FAILURE||Do not add this segment. Continue to the next segment.|
The user should return SUCCESS to add the current segment and continue with the process, or FAILURE, to not add this segment and proceed with the next one.
Required DLLs and Libraries