GroupDocs.Redaction for .NET 26.4 Release Notes
This page contains release notes for GroupDocs.Redaction for .NET 26.4
Major Features
There are the following improvements in this release:
- Enhanced support for Wordprocessing formats such as OpenOffice ODT and OTT.
- Updated Images Exif meta-data processing.
- Added support of metadata processing for Webp format.
Full List of Issues Covering all Changes in this Release
| Key | Summary | Category |
|---|---|---|
| REDACTIONNET-740 | Improve Images Exif data processing | Enhancement |
| REDACTIONNET-742 | Implement support for Wordprocessing ODT and OTT formats | Enhancement |
| REDACTIONNET-743 | Implement Webp metadata processing | Enhancement |
Public API and Backward Incompatible Changes
This section lists the public API changes introduced in GroupDocs.Redaction for .NET 26.4. It includes not only new and obsolete public methods but also descriptions of any behind-the-scenes changes in GroupDocs.Redaction that may affect existing code. Any modifications that could be considered regressions or alter existing behavior are particularly important and are documented here.
Public API changes
No changes
Usage
GroupDocs.Redaction fully supports the newly added Wordprocessing formats (ODT and OTT), along with all previously supported document types.
// Define replacement options and redaction parameters.
// Hide all occurrences of the word "Problem" in a document with red color rectangle.
var redaction_img = new ExactPhraseRedaction("Problem", new ReplacementOptions(System.Drawing.Color.Red));
// Apply redaction to a ODT file and save the result.
using (var redactor = new Redactor("sample.odt"))
{
redactor.Apply(redaction_img);
var so = new SaveOptions() { AddSuffix = true, RasterizeToPDF = false, RedactedFileSuffix = "file_redacted" };
var out_file = redactor.Save();
}
Clear Webp file metadata using the following code snippet:
// Define options to remove all supported metadata.
var redaction = new EraseMetadataRedaction();
// Erase Webp metadata and save the result.
using (var redactor = new Redactor("sample.webp"))
{
var result = redactor.Apply(redaction);
if (result.Status != RedactionStatus.Failed)
{
var out_file = redactor.Save(new SaveOptions() { AddSuffix = true, RasterizeToPDF = false });
}
}