The following example demonstrates how to save the redacted document, replacing an original file:
// Make a copy of sample file Files.copy(new File("Sample.docx").toPath(), new File("OverwrittenSample.docx").toPath(), StandardCopyOption.REPLACE_EXISTING); // Apply redaction final Redactor redactor = new Redactor("OverwrittenSample.docx"); try { RedactorChangeLog result = redactor.apply(new ExactPhraseRedaction("John Doe", new ReplacementOptions(java.awt.Color.RED))); if (result.getStatus() != RedactionStatus.Failed) { SaveOptions options = new SaveOptions(); options.setAddSuffix(false); options.setRasterizeToPDF(false); // Save the document in original format overwriting original file redactor.save(options); } } finally { redactor....Editor Product Solution GroupDocs...
This article explains the method which can be used when for some reason files have non-standard extensions or if its format is supported, but not pre-configured....Editor Product Solution GroupDocs...
Step-by-step scenarios for searching documents with AI agents over MCP: questions across a folder, quoting passages, keeping an index current, repository documents, email archives, and dates and amounts....Editor Product Solution GroupDocs...
GroupDocs.Search for .NET is a full-text search API that indexes documents of more than 70 formats and searches them with a variety of search types and options....Editor Product Solution GroupDocs...
Install and configure the GroupDocs.Conversion MCP server for .NET — one-click install links for VS Code and Cursor, per-OS setup for Windows, Linux, and macOS, and the full environment-variable reference....Editor Product Solution GroupDocs...
This section describes search types, search queries, search options and results, and the internals of search operations in GroupDocs.Search for .NET....Editor Product Solution GroupDocs...
The articles in this section describe advanced search index creation topics.
Find out how to create an index on disk or in memory, subscribe to index events, work with multiple indexes in a single index repository, apply index settings, and which indexes of previous versions can be opened, updated, merged and saved:
Search index location Search index events Search index repository Search index settings Index format and compatibility More resources GitHub examples You may easily run the code from documentation articles and see the features in action in our GitHub examples:...Editor Product Solution GroupDocs...
This article describes how to compare multiple Word documents or PowerPoint presentations protected by password using GroupDocs.Comparison for Python via .NET API....Editor Product Solution GroupDocs...
C# kullanarak DOCX, XLSX, PPTX, PDF, JPG/JPEG, PNG, WebP görüntüleri, e-posta, e-Kitaplar, Visio, Zip dosyalarından seçici meta verileri kaldırın veya tüm meta veri özelliklerini temizleyin....Editor) || p.Value.Type == MetadataPropertyType...