v26.7
Removed Class ImageExtractor
- The previous implementation of plugins is gradually being retired. The functionality of this class has been replaced to Class PdfExtractor.
- Class ImageExtractor: removed, use PdfExtractor.
Example Usage:
The example demonstrates how to Extract Images from PDF document.
// Create ExtractImagesOptions to set instructions
var options = new ExtractImagesOptions();
// Add input file path
options.AddInput(new FileData("path_to_your_pdf_file.pdf"));
// Set output Directory path
options.AddOutput(new DirectoryData("path_to_results_directory"));
// Perform the process
var results = PdfExtractor.Extract(options);
// Get path to image result
var imageExtracted = results.ResultCollection[0].ToFile();Removed Class ImageExtractor
- The functionality of this class has been replaced to Class PdfSecurity.
- Class Timestamp: removed, use PdfSecurity.
- Class AddTimestampOptions: removed, use SignOptions and TimestampOptions.
Example Usage:
The example demonstrates how to Sign PDF document with Timestamp.
// Create SignOptions object to set Timestamp
var options = new SignOptions(new TimestampOptions("server_url"));
// 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
PdfSecurity.Sign(options);Other fixes
🖥️ HTML to PDF
- Fixed HTML to PDF conversion where image placement and text overwriting occurred
- Fixed HTML to PDF conversion where page content did not fit correctly
- Fixed HTML to PDF issue where generated PDF displayed a black band
📑 PDF to PDF/A
- Fixed PDF to PDF/A API throwing an exception
- Fixed PDF to PDF/A conversion producing output with incorrect formatting
- Fixed PDF to PDF/A conversion memory issue
- Fixed PDF to PDF/A-3a conversion problem
⚙️ Remaining
- Fixed missing text content when converting PDF to PNG and HTML
- Fixed issue where some fields became blank after flattening
- Fixed issue where PDF document displayed an error after flattening
- Fixed issue where optimizing PDF disrupted content formatting