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

Free Support Forum - aspose.com

Validate PDF version using Aspose

Hi ,

Please guide me the way if there is any provision to Validate PDF version using Aspose?


Hi Shilpi,

Thanks for contacting support.

From PDF version validation, do you mean getting information related to PDF file version ? if so is the case, then please try using following code lines.


Document document = new Document(“c:/pdftest/ProcessParagraphsIssue.pdf”);<o:p></o:p>

// get PDF file version information


You can also change PDF version information using following code snippet.


// change PDF file version

document.Convert("c:/pdftest/Conversionlog.txt", PdfFormat.v_1_5,ConvertErrorAction.Delete);

// save updated file