Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi,
i am trying for how to reduce .pdf file size while save in drive asp.net.
Posted
Comments
Patrice T 9-Sep-15 2:11am    
context not clear

According to this Stack overflow question: "PDF compressing library/tool"[^], you are out of luck.
 
Share this answer
 
Why can't be think of compressing the document:

VB
Dim filePath As String=Server.MapPath("\documents\file.pdf")
Using zip As ZipFile = New ZipFile()
    zip.AddFile(filePath, "files")
    zip.Save(filePath)
End Using
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900