Skip navigation
Currently Being Moderated

ReducePDF feature

Jun 26, 2012 4:13 AM

Hello,

 

I want to implement Reduce PDF feature. am using

 

pdDocSaveParams.saveFlags=PDSaveLinearized |PDSaveFull | PDSaveCollectGarbage ; to optimize pdf to 1.4 version.

But some of the document which is v1.7 or v1.6 is not optimizing by using above code.



Is there any other method to do optimize pdf. If not, How to call Save As /Reduce Size PDF without "Reduce File Size" dialog



Please help me to solve the issue.



Thanks,



Sow

 
Replies
  • Currently Being Moderated
    Jun 26, 2012 8:30 AM   in reply to Sowbhagya1

    What do you mean it is "not optimizing"?   The file size isn't getting smaller or the PDF version isn't being changed?  Or both?

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 27, 2012 7:25 AM   in reply to Sowbhagya1

    PDDocSave doesn’t do the same optimizations that Reduce File Size does.  If you want that, you need ot use AVDocSaveOptimize() method.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 28, 2012 8:44 AM   in reply to Sowbhagya1

    You can control the size of the AVWindow, so perhaps you can have the process opening and closing a small window while it is running if your PDDoc does not correspond to an existing AVDoc.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points