Last active
March 10, 2026 14:06
-
-
Save documentize/1285bb37e22d412ea692115cfa280858 to your computer and use it in GitHub Desktop.
The example demonstrates how to Flatten fields in PDF file.
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 FlattenFieldsOptions object to set instructions | |
| var options = new FlattenFieldsOptions(); | |
| // 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 | |
| PdfForm.Flatten(options); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment