GroupDocs.Redaction for .NET 22.8 Release Notes

Major Features

There are the following improvements in this release:

  • Supported frameworks versions changed to .NET 4.5, Net Standard 2.1 and .NET 6.0

Full List of Issues Covering all Changes in this Release

KeySummaryCategory
REDACTIONNET-413Provide .NET Standard 2.1 and .NET 6.0 SupportImprovement

Public API and Backward Incompatible Changes

Provide .NET Standard 2.1 and .NET 6.0 Support

Supported frameworks versions changed to .NET 4.5, Net Standard 2.1 and .NET 6.0.

Public API changes

There are no changes in public API.

Usage

The following example demonstrates how to remove two pages starting from a second one in a PDF file.

C#

            using (Redactor redactor = new Redactor("Sample.pdf"))
            {
                // Requires at least 4 pages
                if (redactor.GetDocumentInfo().PageCount >= 4)
                {
                    redactor.Apply(new RemovePageRedaction(PageSeekOrigin.Begin, 1, 2));
                    redactor.Save(new SaveOptions() { AddSuffix = true, RasterizeToPDF = false });
                }
            }