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

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

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

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

XLS Nl Live Demo

Checkout the free online demo for XLS Nl.

No need to set up

No need to write any code

Just upload the source file

Get the download link

What is XLS File Format?

Files with XLS extension represent Excel Binary File Format. Such files can be created by Microsoft Excel as well as other similar spreadsheet programs such as OpenOffice Calc or Apple Numbers. File saved by Excel is known as Workbook where each workbook can have one or more worksheets. Data is stored and displayed to users in table format in worksheet and can span numeric values, text data, formulas, external data connections, images, and charts. Applications like Microsoft Excel lets you export workbook data to several different formats including PDF, CSV, XLSX, TXT, HTML, XPS, and several others. The XLS file format was replaced with a more open and structured format, XLSX, with the release of Microsoft Excel 2007. The latest versions still provide support for creating and reading XLS files, though XLSX is the first choice of use now.

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)

RTF Nl

(Rich Text Format)

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