Different pdf versions when converting document to PDF with different compliance options

Hello,

I am working on topic of document to PDF conversion using ASPOSE java APIs.

I have following observations when I convert document (word, PPT, XLSX) to PDF with compliance options.
Document to PDF conversion is successful with expected compliance but getting different pdf versions for different compliances.

For Example : 1) If we pass “com.aspose.words.PdfCompliance.PDF_A_1_A” compliance during conversion/save then PDF is generated with "1.4(Acrobat 5.x) version.
2) If we pass “com.aspose.words.PdfCompliance.PDF_A_2_U” compliance during conversion/save then PDF is generated with "1.7(Acrobat 8.x) version.

similar way I can see below versions for different compliances.
Compliance Versions
com.aspose.words.PdfCompliance.PDF_A_1_A 1.4
com.aspose.words.PdfCompliance.PDF_A_1_B 1.4
com.aspose.words.PdfCompliance.PDF_A_2_A 1.7
com.aspose.words.PdfCompliance.PDF_A_2_U 1.7
com.aspose.words.PdfCompliance.PDF_UA_1 1.7
com.aspose.words.PdfCompliance.PDF_17 1.7
com.aspose.words.PdfCompliance.PDF_20 2.0

Please help me to understand:
Why different pdf versions for different compliances?

Thanks for your helpPDF_A_1A.png (69.4 KB)
PDF_A_2U.png (69.0 KB)

@dnyandevp PDF_A_1 compliance is based on PDF 1.4 version. A_2 and UA are based on PDF 1.7 version. That is why you see different PDF versions when use different compliances.