Home RAP

modify PDFSettings.PDFAFormat


could you tell me how to modify PDFSettings.PDFAFormat in RAP?

I keep getting the error that "pafPDFA3" is either undefined or an incompatible type when I specify it as a string.

This is how I'm currently trying to do it:
Report.PDFSettings.PDFAFormat := pafPDFA3;

How do you correctly specify the values for PDFAFormat?

Thank you!


  • edited June 2023
    Hi Marko,

    RAP fully supports registered enumerated types which the TppPDFAFormatType is. The issue is that this enumerated type was not registered with RAP and this is why it was not recognizing the value.

    I sent you a patch that solves the problem. All registered users with a valid software subscription can email support@ to receive the patch.
    Best Regards,

    Nico Cizik
    Digital Metaphors
  • Hi,

    Thanks very much! To be honest, it didn't even occur to me that I had to use an integer here, but that worked.

    Also, thank you for the patch!

    Best Regards,
Sign In or Register to comment.