This callback function is called every time a segment is added to the PDF document.
virtual L_INT LPDFCompressor::ImageCallBack (nPage, pSegment)
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.
|Add the current segment and continue.
|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.
For an example, refer to LPDFCompressor::InsertMRC.