Writes the file in memory to a file on disk, using the path provided.
Character string that contains the name, including the path, of the document file to save.
|The function was successful.
|An error occurred. Refer to Return Codes.
This function saves a compressed PDF document file to disk. The pwszOutFile parameter indicates where the PDF document file should be created.
The PDF Compressor normally creates the compressed PDF document file in memory. It can add as many pages as required to the file. Once the PDF file in memory is complete, call this function to write the file to disk, before calling LPDFCompressor::Free.
For an example, refer to LPDFCompressor::InsertNormal.