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

Free Support Forum - aspose.com

Create PDF with specific version

We have a need to create PDF with specific version. The interfacing system of our application expects only specific version (V1.4 or V1.6) and is there a way that we can target to specific version while creating PDF.


Thank you for contacting support.

Aspose.PDF for .NET supports the feature to create PDF file in particular PDF version or you can also update the version of any existing PDF file. Please take a look over following code snippet:

//load PDF document
Document doc = new Document(dataDir + "Test.pdf");

// set the PDF file version
doc.Convert(new MemoryStream(), PdfFormat.v_1_4, ConvertErrorAction.Delete);

// save updated file
doc.Save(dataDir + "Test_1.4.pdf");

We hope this will be helpful. Please feel free to contact us if you need any further assistance.