Created
February 25, 2026 07:46
-
-
Save documentize/1eead79517cb2c0287e1e145c13bbd78 to your computer and use it in GitHub Desktop.
The example demonstrates how to Compress PDF document.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Create CompressOptions object to set instructions | |
| var options = new CompressOptions(); | |
| // Add input file path | |
| options.AddInput(new FileData("path_to_your_pdf_file.pdf")); | |
| // Set output file path | |
| options.AddOutput(new FileData("path_to_result_pdf_file.pdf")); | |
| // Perform the process | |
| PdfManager.Compress(options); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment