SetPageSizeByOriginalImageSize flag doesn't work

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.

 

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.