GroupDocs.Editor for .NET API ist die richtige Wahl, um Microsoft Word, Excel, PowerPoint, Open Office-Dokumente und -Präsentationen zu bearbeiten. GroupDocs.Editor ist eine eigenständige API, die für serverseitige und Back-End-Systeme geeignet ist, bei denen eine hohe Leistung erforderlich ist. Es ist unabhängig von Software wie Microsoft oder Open Office.
GroupDocs.Editor for .NET bietet Entwicklern eine einfache und unkomplizierte Möglichkeit, die XLAM-Dateien mit wenigen Codezeilen zu bearbeiten.
Editor.Edit()
auf und erhalten Sie ein XLAM-Dokument im HTML-Format, das mit jedem WYSIWYG-Editor einfach bearbeitet werden kann.Eine grundlegende Dokumentenbearbeitung mit GroupDocs.Editor for .NET-APIs kann durch die Implementierung einiger einfacher Schritte durchgeführt werden. Unsere APIs werden auf allen wichtigen Plattformen und Betriebssystemen unterstützt. Bevor Sie den folgenden Code ausführen, stellen Sie bitte sicher, dass die folgenden Voraussetzungen auf Ihrem System installiert sind.
// Load the XLAM file into Editor with the optional SpreadsheetLoadOptions
Editor editor = new Editor("source.xlam", delegate { return new SpreadsheetLoadOptions(); });
// Create and adjust the edit options
SpreadsheetEditOptions editOptions = new SpreadsheetEditOptions();
editOptions.WorksheetIndex = 1;//select a tab (worksheet) to edit
// Open input XLAM document for edit — obtain an intermediate document, that can be edited
EditableDocument beforeEdit = editor.Edit(editOptions);
// Grab XLAM document content and associated resources from editable document
string content = beforeEdit.GetContent();
// Send the content to WYSIWYG-editor, edit it there, and send edited content back to the server-side
// This step simulates a such operation
string updatedContent = content.Replace("Cell Text", "Edited Cell Text");
// Grab edited content and resources from WYSIWYG-editor and create a new EditableDocument instance from it
EditableDocument afterEdit = EditableDocument.FromMarkup(updatedContent, null);
// Create a save options and select a desired output format
SpreadsheetSaveOptions saveOptions = new SpreadsheetSaveOptions(Formats.SpreadsheetFormats.Xlam);
// Save edited XLAM document to the file
editor.Save(afterEdit, "edited.xlam", saveOptions);
Bearbeiten Sie XLAM jetzt, indem Sie die Website GroupDocs.Editor Live Demos besuchen. Die Live-Demo hat die folgenden Vorteile
Sie müssen die GroupDocs-API nicht herunterladen
Es muss kein Code geschrieben werden
Laden Sie einfach die Quelldatei hoch, um eine sofortige Anzeige zu erhalten
Holen Sie sich den Download-Link, um die Datei auf Ihrem Computer zu speichern
Sie können auch andere Dateiformate bearbeiten. Bitte beachten Sie die vollständige Liste unten.
(Microsoft Word Binary Format)
(Office 2007+ Word Document)
(Microsoft Word 2007 Marco File)
(Microsoft Word Template File )
(Microsoft Excel Spreadsheet (Legacy))
(Open XML Workbook)
(Macro-enabled Spreadsheet)
(Microsoft PowerPoint 97-2003)
(Open XML presentation Format)
(Macro-enabled Presentation File)
(Open Ebook Format)
(Open eBook File)
(Hyper Text Markup Language)
(Web Page Archive Format)
(Text Document)
(XML File)
(Comma Seperated Values)
(Portable Document Format)
(XML Paper Specifications)
(Outlook Message Item File)