Free Support Forum -

Compression while converting from Word to PDF


I have a requirement, where I have to covert a word document into PDF, for that purpose Iam using following code

Aspose.Words.Document doc1 = new Aspose.Words.Document(FileUpload1.PostedFile.InputStream);

doc1.SaveToPdf(Server.MapPath("~") + @"\Temp\p1.pdf");

Now, here I want to achieve compression.

Actually Iam converting multiple word document into PDF and clubbing all those into single PDF.


Each of these (p1,p2,p3,p4) docuemnt coverted to PDF from Word

My primary goal is to reduce the size of MyFinal.pdf.

If I can reduce or compress the size of each of these file(p1..p4) then automatically the size of final PDF will be reduced.

Please suggest, Is it possiable to compress PDF, using Aspose.Word?



I wan to reduce the size of PDF.

I want to know is there is any way to compress the p1.pdf file?




<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. I just answered this question here:

Best regards,