Оптимизировать PDF

The PDF Manager is a comprehensive tool that enhances PDF documents through advanced optimization techniques. It is designed to help reduce file sizes, rotate pages, crop content, and resize documents. These operations improve the quality and manageability of PDF files, making them easier to store, share, and view. Optimization, or linearization for Web, refers to the process of making a PDF file suitable for online browsing using a web browser.

Optimize PDF

The following steps demonstrate how to optimize a PDF document by reducing its file size while maintaining quality.

  1. Create an OptimizeOptions object to configure optimization settings.
  2. Add input PDF file(s) and set an output location for the optimized file.
  3. Run the Optimize method of PdfManager to execute the optimization.
1  
2// Create OptimizeOptions object to set instructions  
3var options = new OptimizeOptions();  
4// Add input file path  
5options.AddInput(new FileData("path_to_your_pdf_file.pdf"));  
6// Set output file path  
7options.AddOutput(new FileData("path_to_result_pdf_file.pdf"));  
8// Perform the process  
9PdfManager.Optimize(options);  

Key Features:

  • Optimization: Reduce PDF file size without losing quality.
 Русский