We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

PdfViewer DecodeAllPages issue

Hello,

i 'm using the PdfViewer class of Aspose.Pdf assembly version 6.1.0.0 under the "Aspose.Pdf.Facades" namespace in order to visualize a pdf file inside my own windows form control.

I just created a PdfViewer instance, called OpenPdfFile function and the called DecodeAllPages function.

With pdf file with a number of pages less then 4 everything works well, otherwise it throw an exception with this message:

"At most 4 elements (for any collection) can be viewed in evaluation mode".

I have a regular aspose pdf license that i normally use in all my code, but "PdfViewer" class doesn't have a method to bind a licence.

How can i solve this issue?

Best regards

Adriano Albertini

Hi Adriano,

Thanks for using our products.

Can you please try using the latest release version of Aspose.Pdf for .NET 6.2.0 and see if it can resolve your problem. In case you still encounter any issue, please share the source code and the license file that you are using so that we can test the scenario at our end. We are really sorry for your inconvenience.

Please visit the following link for instructions on How to send a license?

Hello,

i tried Aspose.Pdf for NET 6.3.0 and everything is ok!

Thankx,

Adriano Albertini