×
Menu
Index

Compress

 
 
  • Compress( cFileIn, cFileOut, nPct ) => Compress a PDF file. The files must be a disk file, if you wish to compress the current file in memory, you should save it first with EndDoc() and then compress it.
 
 
cFileIn : The input PDF file name to be compressed,
 
cFileName : The path and file name of the output (compressed) PDF file.
 
nPct : a number ranging from 0 to 100, the larger the number, more quality and less compression will be done, the lower the number, more compression of the file, but having a lesser quality.