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

Zoek en vervang tekst in Office- en OpenOffice-documenten, -spreadsheets en -presentaties en in RTF 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 RTF via C#

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

  • Maak een instantie van Redactor klasse & laad RTF 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.rtf"))
{
	redactor.Apply(new ExactPhraseRedaction("John Doe", new ReplacementOptions("[personal]")));
	redactor.Save();
}

RTF Nl Live Demo

Checkout the free online demo for RTF Nl.

No need to set up

No need to write any code

Just upload the source file

Get the download link

What is RTF File Format?

Introduced and documented by Microsoft, the Rich Text Format (RTF) represents a method of encoding formatted text and graphics for use within applications. The format facilitates cross-platform document exchange with other Microsoft Products, thus serving the purpose of interoperability. This capability makes it a standard of data transfer between word processing software and, hence, contents can be transferred from one operating system to another without losing document formatting. The file format specifications are available by Microsoft for public download and can be referred to from developer’s perspective.

Read More

Other Nl Options

CSV Nl

(Comma Seperated Values)

DOC Nl

(Microsoft Word Binary Format)

DOCM Nl

(Microsoft Word 2007 Marco File)

DOCX Nl

(Office 2007+ Word Document)

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)

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