Question about resulting PDF version (when merging- inserting- appending) and functionalities

Dear support team,

Can you tell me when using PDF.KIT for NET with the append (merge, insert …) function what is the resulting version of PDF? What are the rules for this?

According to some the tests I made when appending files the resulting file is 1.4.

What happen if the files are 1.5 or 1.6 ?

Is there a way to influence the resulting version of the PDF?

There is no replace method so I suppose I should combine a delete and a insert?

I couldn’t find an optimize or compress function for the PDF files .

How can we do that ?


Best regards


This message was posted using Support 2 Forum

Hi,

Thank you for considering Aspose.

  1. I think the output version is always 1.4, but I will discuss this with the developers and we will let you know about this.

  2. You mean to ask that, is there is a way to set version of resultant PDF? I think there is no way, although you can change the metaInfo using Aspose.Pdf.Kit.PdfFileInfo .

  3. Whenever Pdf is processed then new Pdf is generated as a result. Hence, the workaround you have is correct.

  4. I am afraid that there is no functionality to compress existing Pdf.

If you need more help, please do let us know.

Thanks.

Adeel Ahmad
Support Developer
Aspose Changsha Team