GroupDocs.Assembly 20.4.0

GroupDocs.Assembly for .NET is a class library that enables you to generate documents in popular office and email file formats based upon template documents and data obtained from various sources including databases, XML, JSON, OData, CSV, objects of custom .NET types, external documents, and more.
The library is not tied with any particular document type or industry and is able to help you in generation of documents of various types, be it business, financial, or legal documents, reports, letters, invoices, bills, insurance policies, NDAs, and so on.

Key features:

- Support of multiple output file formats for a single template document
- Simple template syntax based on C# and LINQ extension methods (even for ADO.NET data sources)
- Dynamic generation and insertion of charts, barcodes, and images
- Dynamic insertion of outer Word Processing documents and HTML blocks into a document
- Support of repeatable and conditional document blocks (loops and conditions)
- Support of multiple data sources (including of different types) for generation of a single document
- Built-in support of data relations
- Updating of Word Processing document fields and calculation of Spreadsheet document formulas
- WYSIWYG: Elements of an output document retain the same native formatting settings as that in a template

Supported file formats:

- Microsoft Word document formats: DOCX, DOCM, DOTX, DOTM, DOC, DOT, RTF, XML
- Microsoft Excel workbook formats: XLSX, XLSM, XLTX, XLTM, XLSB, XLS, XLT, XML
- Microsoft PowerPoint presentation formats: PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, PPS
- Microsoft Outlook and email formats: MSG, EML, EMLX
- OpenOffice document formats: ODT, OTT, ODS, ODP
- Other file formats: MHTML, HTML, PDF, XPS, OpenXPS, TIFF, SVG, PS, PCL, EPUB, XAML, Markdown, TXT, XML

For more details on the library, please visit GroupDocs website at:
https://products.groupdocs.com/assembly/net
         
Note: The library comes up with some limitations in the evaluation mode. In order to test full features of GroupDocs.Assembly for .NET library, please request a free 30-day temporary license.

Install-Package GroupDocs.Assembly -Version 20.4.0
dotnet add package GroupDocs.Assembly --version 20.4.0
<PackageReference Include="GroupDocs.Assembly" Version="20.4.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GroupDocs.Assembly --version 20.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

.NET API for Document Assembly

An on-premise API to generate documents of various formats based on user-defined templates as well as from other data sources, such as, XML, OData, JSON etc.

Document Assembly Processing Features

  • Support for multiple data formats.
  • Perform sequential data operations.
  • Supports upper, lower, capital, first-cap formatting to template syntax strings.
  • Apply ordinal, cardinal, alphabetic, numeric formatting in template syntax.
  • Use custom variables in the template documents.
  • Support for text comments within template syntax tags.
  • Dynamically insert document content & hyperlinks in reports.
  • Apply attributes to email message body.
  • Dynamically apply email attachments.
  • Generate barcode in reports.
  • Dynamically set background color of HTML documents.
  • Supports formatting of numeric, text, image, date-time, chart elements in template.
  • Apply conditional formatting on template text elements.
  • Linq-based template syntax.
  • Use explicit specifications or file extensions to change format of assembled file.
  • Supports next field analogue of Microsoft Word.
  • Update fields during word processing document assembly.
  • Support for applying formula during spreadsheet file assembly.
  • Automatically remove empty paragraphs.
  • Generate various report types, such as, charts, lists, tables etc.
  • Instead of exception throwing, support for inline template syntax errors in generated docs.
  • Load template documents from HTML with resources.
  • Save assembled documents to HTML with resources.

New Features in Version 20.4

  • This release provides the option to fit an image within textbox bounds while maintaining ratio for:
    • Word Processing documents.
    • Emails with RTF bodies.
    • Spreadsheet documents.
    • Presentation documents.

For the detailed notes, please visit GroupDocs.Assembly for .NET 20.4 Release Notes.

Read & Write Microsoft Office Formats

Microsoft Word: DOC, DOT, DOCX, DOCM, DOTX, DOTM, RTF
Microsoft Excel: XLSX, XLSM, XLTX, XLTM, XLSB, XLS, XLT
Microsoft PowerPoint: PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, PPS

Read & Write Other Formats

OpenOffice: ODS, ODT, OTT, ODP, OXPS
Email: EML, MSG, EMLX
Fixed Layout: PDF, XPS
Web: HTML, MHTML
Images: TIFF, SVG
Other: XML, XAML, TXT, EPUB, PS, PCL, MD

Platform Independence

GroupDocs.Assembly for .Net can be used to build applications for Windows, Mac OS X x64 as well as for Linux x64. Developers may also code in PHP, VBScript, Delphi & C++ programming languages while using GroupDocs.Assembly for .Net via COM Interop.

Getting Started with GroupDocs.Assembly for .NET

Are you ready to give GroupDocs.Assembly for .NET a try? Simply execute Install-Package GroupDocs.Assembly from Package Manager Console in Visual Studio to fetch & reference GroupDocs.Assembly assembly in your project. If you already have GroupDocs.Assembly for .Net and want to upgrade it, please execute Update-Package GroupDocs.Assembly to get the latest version.

Please check the GitHub Repository for other common usage scenarios.

Generate a DOCX File from Markdown (MD) template via C# Code

//Setting up source document template
const String strDocumentTemplate = "Markdown Templates/ReadMe.md";
//Setting up destination Markdown reports
const String strDocumentReport = "Word Reports/ReadMe Out.docx";
//Setting up description variable
const string description = "GroupDocs.Assembly for .NET is a class library that enables you to generate documents in popular " +
    "office and email file formats based upon template documents and data obtained from various sources " +
    "including databases, XML, JSON, OData, objects of custom .NET types, external documents, and more.";

DocumentAssembler assembler = new DocumentAssembler();
//Assemble Document
assembler.AssembleDocument(
CommonUtilities.GetSourceDocument(strDocumentTemplate),
CommonUtilities.SetDestinationDocument(strDocumentReport),
new DataSourceInfo("GroupDocs.Assembly for .NET", "product"),
new DataSourceInfo(description, "description"));
}

Use Spreadsheet as a Data Source to Assemble a Document

string strDocumentTemplate = "Word Templates/Using Spreadsheet as Table of Data.docx";
string strDocumentReport = "Word Reports/Using Spreadsheet as Table of Data_Output.docx";
// Assemble a document using the external document table as a data source.
DocumentAssembler assembler = new DocumentAssembler();
assembler.AssembleDocument(CommonUtilities.GetSourceDocument(strDocumentTemplate),
                           CommonUtilities.SetDestinationDocument(strDocumentReport),
                           new DataSourceInfo(DataLayer.ExcelData(), "contracts"));

Product Page | Documentation | Demo | API Reference | Examples | Blog | Free Support | Temporary License

.NET API for Document Assembly

An on-premise API to generate documents of various formats based on user-defined templates as well as from other data sources, such as, XML, OData, JSON etc.

Document Assembly Processing Features

  • Support for multiple data formats.
  • Perform sequential data operations.
  • Supports upper, lower, capital, first-cap formatting to template syntax strings.
  • Apply ordinal, cardinal, alphabetic, numeric formatting in template syntax.
  • Use custom variables in the template documents.
  • Support for text comments within template syntax tags.
  • Dynamically insert document content & hyperlinks in reports.
  • Apply attributes to email message body.
  • Dynamically apply email attachments.
  • Generate barcode in reports.
  • Dynamically set background color of HTML documents.
  • Supports formatting of numeric, text, image, date-time, chart elements in template.
  • Apply conditional formatting on template text elements.
  • Linq-based template syntax.
  • Use explicit specifications or file extensions to change format of assembled file.
  • Supports next field analogue of Microsoft Word.
  • Update fields during word processing document assembly.
  • Support for applying formula during spreadsheet file assembly.
  • Automatically remove empty paragraphs.
  • Generate various report types, such as, charts, lists, tables etc.
  • Instead of exception throwing, support for inline template syntax errors in generated docs.
  • Load template documents from HTML with resources.
  • Save assembled documents to HTML with resources.

New Features in Version 20.4

  • This release provides the option to fit an image within textbox bounds while maintaining ratio for:
    • Word Processing documents.
    • Emails with RTF bodies.
    • Spreadsheet documents.
    • Presentation documents.

For the detailed notes, please visit GroupDocs.Assembly for .NET 20.4 Release Notes.

Read & Write Microsoft Office Formats

Microsoft Word: DOC, DOT, DOCX, DOCM, DOTX, DOTM, RTF
Microsoft Excel: XLSX, XLSM, XLTX, XLTM, XLSB, XLS, XLT
Microsoft PowerPoint: PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, PPS

Read & Write Other Formats

OpenOffice: ODS, ODT, OTT, ODP, OXPS
Email: EML, MSG, EMLX
Fixed Layout: PDF, XPS
Web: HTML, MHTML
Images: TIFF, SVG
Other: XML, XAML, TXT, EPUB, PS, PCL, MD

Platform Independence

GroupDocs.Assembly for .Net can be used to build applications for Windows, Mac OS X x64 as well as for Linux x64. Developers may also code in PHP, VBScript, Delphi & C++ programming languages while using GroupDocs.Assembly for .Net via COM Interop.

Getting Started with GroupDocs.Assembly for .NET

Are you ready to give GroupDocs.Assembly for .NET a try? Simply execute Install-Package GroupDocs.Assembly from Package Manager Console in Visual Studio to fetch & reference GroupDocs.Assembly assembly in your project. If you already have GroupDocs.Assembly for .Net and want to upgrade it, please execute Update-Package GroupDocs.Assembly to get the latest version.

Please check the GitHub Repository for other common usage scenarios.

Generate a DOCX File from Markdown (MD) template via C# Code

//Setting up source document template
const String strDocumentTemplate = "Markdown Templates/ReadMe.md";
//Setting up destination Markdown reports
const String strDocumentReport = "Word Reports/ReadMe Out.docx";
//Setting up description variable
const string description = "GroupDocs.Assembly for .NET is a class library that enables you to generate documents in popular " +
    "office and email file formats based upon template documents and data obtained from various sources " +
    "including databases, XML, JSON, OData, objects of custom .NET types, external documents, and more.";

DocumentAssembler assembler = new DocumentAssembler();
//Assemble Document
assembler.AssembleDocument(
CommonUtilities.GetSourceDocument(strDocumentTemplate),
CommonUtilities.SetDestinationDocument(strDocumentReport),
new DataSourceInfo("GroupDocs.Assembly for .NET", "product"),
new DataSourceInfo(description, "description"));
}

Use Spreadsheet as a Data Source to Assemble a Document

string strDocumentTemplate = "Word Templates/Using Spreadsheet as Table of Data.docx";
string strDocumentReport = "Word Reports/Using Spreadsheet as Table of Data_Output.docx";
// Assemble a document using the external document table as a data source.
DocumentAssembler assembler = new DocumentAssembler();
assembler.AssembleDocument(CommonUtilities.GetSourceDocument(strDocumentTemplate),
                           CommonUtilities.SetDestinationDocument(strDocumentReport),
                           new DataSourceInfo(DataLayer.ExcelData(), "contracts"));

Product Page | Documentation | Demo | API Reference | Examples | Blog | Free Support | Temporary License

Release Notes

https://docs.groupdocs.com/display/assemblynet/GroupDocs.Assembly+for+.NET+20.4+Release+Notes

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
20.4.0 88 4/23/2020
20.3.0 133 3/17/2020
20.1.0 204 1/31/2020
19.12.0 145 12/21/2019
19.11.0 199 11/18/2019
19.10.0 146 10/12/2019
19.8.0 154 8/24/2019
19.7.0 129 7/16/2019
19.5.0 173 5/27/2019
19.3.0 241 3/8/2019
19.1.0 286 1/29/2019
18.12.0 257 12/6/2018
18.10.0 243 10/31/2018
18.9.0 293 9/11/2018
18.7.0 323 7/31/2018
18.6.0 368 7/2/2018
18.5.0 363 6/1/2018
18.2.0 441 3/1/2018
18.1.0 412 1/25/2018
17.12.0 402 12/26/2017
17.11.0 389 11/3/2017
17.9.0 378 10/2/2017
17.8.0 450 8/12/2017
17.5.0 496 5/18/2017
17.3.0 425 4/2/2017
17.1.0 453 2/2/2017
16.12.0 478 12/31/2016
3.3.0 473 9/30/2016
3.2.0 514 8/29/2016
3.1.0 525 7/1/2016
3.0.0 789 2/6/2016