Browse our Products
If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.
If you experience errors, when you try to download a file, make sure your network policies (enforced by your company or ISP) allow downloading ZIP and/or MSI files.
The latest GroupDocs.Redaction for .NET release (v23.8, MSI) equips developers working on document redaction solutions with optimized redaction capabilities. It caters to the problems faced while working with Arabic documents and allows for precise redaction within designated PDF areas.
Accurately redact sensitive information within Arabic documents with proper right-to-left text direction handling using this C# redaction API version. This code sample illustrates the feature usage in C#.
using (Redactor redactor = new Redactor("Arabic.pdf"))
{
ExactPhraseRedaction red = new ExactPhraseRedaction("أﺑﺠﺪ", new ReplacementOptions("[test]"));
red.IsRightToLeft = true;
RedactorChangeLog result = redactor.Apply(red);
if (result.Status != RedactionStatus.Failed)
{
redactor.Save();
};
}
.NET developers can now redact specific areas of a PDF document, including text, images, and annotations, based on page range or selection. Check out the example code snippets shared below, highlighting how to redact a specific PDF document area (right half of the last page) using PageAreaRedaction and redacting a specific paragraph within the document, respectively.
using (Redactor redactor = new Redactor("Sample.pdf"))
{
Regex rx = new Regex("urna");
ReplacementOptions optionsText = new ReplacementOptions("[redarea]");
optionsText.Filters = new RedactionFilter[] {
new PageRangeFilter(PageSeekOrigin.End, 0, 1), // last page
new PageAreaFilter(new System.Drawing.Point(300, 0), new System.Drawing.Size(300, 840)) // right half of the page 300x840
};
RegionReplacementOptions optionsImg = new RegionReplacementOptions(System.Drawing.Color.Chocolate, new System.Drawing.Size(100, 100));
RedactorChangeLog result = redactor.Apply(new PageAreaRedaction(rx, optionsText, optionsImg));
if (result.Status != RedactionStatus.Failed)
{
redactor.Save();
};
}
using (Redactor redactor = new Redactor("LoremIpsum.pdf"))
{
RedactorChangeLog result = redactor.Apply(new RegexRedaction("(Lorem(\n|.)+?urna)", new ReplacementOptions(System.Drawing.Color.Red)));
if (result.Status != RedactionStatus.Failed)
{
redactor.Save();
};
}
You can view the list of all new features, enhancements, and bug fixes introduced in this release by visiting GroupDocs.Redaction for .NET 23.8 Release Notes.