Oscura i file DOCX tramite C# nelle .NET app principali

Cerca e sostituisci testo in documenti, fogli di lavoro e presentazioni Office e OpenOffice nonché DOCX su Windows, Linux e macOS


Redazione del documento per l'API .NET

Un’unica interfaccia indipendente dal formato per l’oscuramento di informazioni riservate e classificate da documenti e immagini PDF, Word, Excel, PowerPoint, inclusa la possibilità di modificare i metadati e rimuovere i commenti. Con lo strumento GroupDocs.Redaction for .NET puoi redigere il testo e salvare il documento redatto in PDF, trasformando tutte le pagine in immagini raster o mantenendo il documento nel suo formato originale per ulteriori modifiche.

Oscura testo esatto da DOCX tramite C#

GroupDocs.Redaction consente agli .NET sviluppatori di aggiungere facilmente DOCX la funzionalità di revisione dei file con pochi semplici passaggi.

  • Crea un’istanza della classe Redactor e carica il file DOCX
  • Crea un’istanza della classe ExactPhraseRedaction per trovare e sostituire il testo
  • Richiama il metodo Redactor.Apply con oggetto di ExactPhraseRedaction

Inizia con l'API Redaction

Installa dalla riga di comando come nuget install GroupDocs.Redaction o tramite Package Manager Console di Visual Studio con Install-Package GroupDocs.Redaction. In alternativa, scarica il programma di installazione MSI offline o le DLL in un file ZIP da download e fai riferimento a esso manualmente nel tuo progetto.

using (Redactor redactor = new Redactor(@"sample.docx"))
{
	redactor.Apply(new ExactPhraseRedaction("John Doe", new ReplacementOptions("[personal]")));
	redactor.Save();
}

DOCX It Live Demo

Checkout the free online demo for DOCX It.

No need to set up

No need to write any code

Just upload the source file

Get the download link

What is DOCX File Format?

DOCX is a well-known format for Microsoft Word documents. Introduced from 2007 with the release of Microsoft Office 2007, the structure of this new Document format was changed from plain binary to a combination of XML and binary files. Docx files can be opened with Word 2007 and lateral versions but not with the earlier versions of MS Word which support DOC file extensions.

Read More

Other It Options

CSV It

(Comma Seperated Values)

DOC It

(Microsoft Word Binary Format)

DOCM It

(Microsoft Word 2007 Marco File)

DOT It

(Microsoft Word Template Files)

DOTM It

(Microsoft Word 2007+ Template File)

DOTX It

(Microsoft Word Template File )

PDF It

(Portable Document Format)

POT It

(Microsoft PowerPoint Template Files)

POTM It

(Microsoft PowerPoint Template File)

PPS It

(PowerPoint Slide Show)

PPSM It

(Macro-enabled Slide Show)

PPSX It

(PowerPoint Slide Show)

PPT It

(Microsoft PowerPoint 97-2003)

PPTM It

(Macro-enabled Presentation File)

PPTX It

(Open XML presentation Format)

RTF It

(Rich Text Format)

XLS It

(Microsoft Excel Spreadsheet (Legacy))

XLSM It

(Macro-enabled Spreadsheet)

XLSX It

(Open XML Workbook)

XLT It

(Excel 97 - 2003 Template)

XLTM It

(Excel Macro-Enabled Template)

XLTX It

(Excel Template)

Back to top
 Italiano