Pdf version change 1.5 to 1.3

Dear Team,

We have code for Doc to pdf conversion. The converted .pdf version is 1.5.
We need to change PDF version like 1.5 to 1.3 without any log/text file creation.

We have attached input and current output.
Input : inpt.zip (315.2 KB)

Output : out.zip (383.3 KB)

@ssvel

Thank you for contacting support.

You can change the version of any PDF file by using Document.Convert method as in the code snippet below. We have attached generated PDF file for your kind reference. Test_1.3.pdf

            //load PDF document
            Document doc = new Document(dataDir + "6-29 Revised Manuscript.pdf");

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

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

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

@Farhan.Raza

Thanks for your support. Its working fine.

Regards,
S S Vadivel