PDF Compliance (PdfFormat) Question

If I don’t explicitly specify a compliance level (Aspose.Pdf.PdfFormat), on the document when using PSF(see Convert PDF documents using C# API|Aspose.PDF for .NET) what is the default?

Our PDFs are a consequence of an Aspose XPS to PDF conversion, do they generate a specific compliance level by default?

Which format is generally considered the most “standard”, even OSI seems to have four active standards!

Typo, sorry, PSF -> Aspose PDF for .NET

Hi Andy,


Thanks for your inquiry. Please note when we do not specify any compliance while creating PDF document, Aspose.Pdf for .NET creates a standard PDF document without any compliance level.
Aspose.Pdf for Generator creates as PDF with version 1.4 standards and Aspose.Pdf.Document creates version 1.7 PDF. If there is any difference in my understanding and your requiremnt then please share some more details. We will provide you information accordingly.

Please feel free to contact us for any further assistance.

Best Regards,

Not sure I understand the words “standard PDF document without any compliance level”

How can it be in any sense “standard” if there is no referenced standard? OSI alone has at least 4 PDF standards…

Do PDFs generated from XPS files default to a particular standard, can I influence that if I set the PdfFormat?

The situation we are in is a downstream vendor is rejecting Aspose created PDFs as having an invalid format, we cannot figure out why, but they keep pointing back at us.

Hi Andy,


Thanks for your feedback. Please find attached output screenshot of a XPS to PDF conversion. When we do not specify any PdfFormat, it is created as 1.7 PDF version . If you want to set any PdfFormat explicitly then you need to set it from available enum values. If still there any difference in my understanding and your requirement please share some more details. So we will guide you accordingly.

PDF_A_1A = 0,<o:p></o:p>

//

PDF_A_1B = 1,

//

PDF_A_2A = 2,

//

PDF_A_3A = 3,

//

PDF_A_2B = 4,

//

PDF_A_3B = 5,

//

v_1_3 = 6,

//

v_1_4 = 7,

//

v_1_5 = 8,

//

v_1_6 = 9,

//

v_1_7 = 10,

//

PDF_X_1A = 11,

//

PDF_X_3 = 12,

// create document object

Aspose.Pdf.Document document = new Aspose.Pdf.Document(myDir + "sampleLetter.xps", options);

//document.Convert(myDir + "log.xml", PdfFormat.PDF_A_1B, ConvertErrorAction.Delete);

// save the resultant PDF document

document.Save(myDir + "XPStoPDF_DOM.pdf");


Please feel free to contact us for any further assistance.


Best Regards,