Bewerk DOCX bestanden via C# in .NET Core-apps

Zoek en vervang tekst in Office- en OpenOffice-documenten, -spreadsheets en -presentaties en in DOCX op Windows, Linux en macOS


Documentredactie voor .NET API

Eén formaat-onafhankelijke interface voor het redigeren van gevoelige en geheime informatie uit de PDF, Word, Excel, PowerPoint documenten en afbeeldingen, inclusief de mogelijkheid om metadata te wijzigen en opmerkingen te verwijderen. Met de tool GroupDocs.Redaction for .NET kunt u tekst redigeren en geredigeerde documenten opslaan in PDF, alle pagina’s transformeren in rasterafbeeldingen of het document in zijn oorspronkelijke formaat behouden voor verdere bewerking.

Bewerk exacte tekst van DOCX via C#

GroupDocs.Redaction maakt het gemakkelijk voor .NET ontwikkelaars om DOCX de functie voor het redigeren van bestanden toe te voegen in een paar eenvoudige stappen.

  • Maak een instantie van Redactor klasse & laad DOCX bestand
  • Maak een instantie van de klasse ExactPhraseRedaction om de tekst te zoeken en te vervangen
  • Roep de methode Redactor.Apply aan met object van ExactPhraseRedaction

Aan de slag met Redaction API

Installeer vanaf de opdrachtregel als nuget install GroupDocs.Redaction of via Package Manager Console van Visual Studio met Install-Package GroupDocs.Redaction. U kunt ook het offline MSI-installatieprogramma of de DLL’s in een ZIP-bestand downloaden van downloads en er handmatig naar verwijzen in uw project.

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

DOCX Nl Live Demo

Checkout the free online demo for DOCX Nl.

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 Nl Options

CSV Nl

(Comma Seperated Values)

DOC Nl

(Microsoft Word Binary Format)

DOCM Nl

(Microsoft Word 2007 Marco File)

DOT Nl

(Microsoft Word Template Files)

DOTM Nl

(Microsoft Word 2007+ Template File)

DOTX Nl

(Microsoft Word Template File )

PDF Nl

(Portable Document Format)

POT Nl

(Microsoft PowerPoint Template Files)

POTM Nl

(Microsoft PowerPoint Template File)

PPS Nl

(PowerPoint Slide Show)

PPSM Nl

(Macro-enabled Slide Show)

PPSX Nl

(PowerPoint Slide Show)

PPT Nl

(Microsoft PowerPoint 97-2003)

PPTM Nl

(Macro-enabled Presentation File)

PPTX Nl

(Open XML presentation Format)

RTF Nl

(Rich Text Format)

XLS Nl

(Microsoft Excel Spreadsheet (Legacy))

XLSM Nl

(Macro-enabled Spreadsheet)

XLSX Nl

(Open XML Workbook)

XLT Nl

(Excel 97 - 2003 Template)

XLTM Nl

(Excel Macro-Enabled Template)

XLTX Nl

(Excel Template)

Back to top
 Nederlands