Developers, rejoice! GroupDocs.Editor for .NET version 24.6 (DLLs only) is here. This release streamlines document editing capabilities and incorporates valuable bug fixes.
Programmatic Document Creation
Effortlessly generate new documents in different formats (Word, Excel, PDF, etc.) without needing a callback function using this version of the .NET document editing API. You can also work with simplified programmatic form field interactions. The following code examples highlight how to generate DOCX, XLSX, PPTX, EPUB, and EML without callbacks in C#.
Generate a Word (DOCX) document:
Stream memoryStream = new MemoryStream();
// Create a new WordProcessing document and save it using a callback Action<Stream>.
using (Editor editor = new Editor(WordProcessingFormats.Docx))
{
// Save new document.
editor.Save(memoryStream);
}
Source*
Generate an spreadsheet (XLSX) document:
Stream memoryStream = new MemoryStream();
// Create a new Spreadsheet document and save it.
using (Editor editor = new Editor(SpreadsheetFormats.Xlsx))
{
// Save new document.
editor.Save(memoryStream);
}
Source*
Create a Presentation (PPTX) document:
Stream memoryStream = new MemoryStream();
// Create a new Presentation document and save it.
using (Editor editor = new Editor(PresentationFormats.Pptx))
{
// Save new document.
editor.Save(memoryStream);
}
Source*
Create an Ebook (EPUB) document:
Stream memoryStream = new MemoryStream();
// Create a new Ebook document and save it.
using (Editor editor = new Editor(EBookFormats.Epub))
{
// Save new document.
editor.Save(memoryStream);
}
Source*
Create an Email (EML) document:
Stream memoryStream = new MemoryStream();
// Create a new Email document and save it.
using (Editor editor = new Editor(EmailFormats.Eml))
{
// Save new document.
editor.Save(memoryStream);
}
Source*
Leverage updated project dependencies for enhanced compatibility and a more secure development experience with GroupDocs.Editor for .NET 24.6.
Bug Fixes
The issue related to enums inherited from Byte
has been fixed in the latest .NET API version, ensuring smoother operations.
You can view the list of all new features, enhancements, and bug fixes introduced in this release by visiting GroupDocs.Editor for .NET 24.6 Release Notes.