Symptoms
SetPageSizeByOriginalImageSize flag doesn't work.
Cause
The flag is no longer actual in FineReader Engine 12 and 11.
Resolution
You will need to use the IPaperSizeParams::PaperSizeMode property instead.
// C++ example
CSafePtr<IPaperSizeParams> paperSizeParams;
pdfExportFeatures->get_PaperSizeParams(&paperSizeParams);
paperSizeParams->put_PaperSizeMode(PSM_ImageSize);
Please see the Developer's Help in chapter "Compatibility with Version 10" for details.
Comments
0 comments
Please sign in to leave a comment.