Convert dynamic XFA PDF Form to standard AcroForm

Hello, with aspose.pdf 19.1 i am trying to convert a dynamic xfa file to a standart, with this code:

And it just doesint work, it gives out exeption :
Exception in thread “main” class com.aspose.pdf.exceptions.IndexOutOfRangeException: At most 4 elements (for any collection) can be viewed in evaluation mode.

Any ideas what is wrong?

@LukeDoc

Thanks for your inquiry. You are using Aspose.PDF downloadable API instead of Aspose.PDF Cloud REST API. Please note Aspose.PDF downloadable API evaluation version has two limitations, evaluation watermark and at most four elements of any collection can be viewed. You are getting issue due to the trial version. Please make a request for 30 days temporary license to evaluate our product without any limitation. Please also check how to apply license documentation . Hopefully your issue will be resolved.

P.S: We have separate forums for support of Aspose downloadable APIs. In future you may post related queries on respective forum.