GroupDocs.Assembly Overview

.NET solution for automating document creation with advanced data integration.

Illustration assembly

Add Business Data to Document Templates with C#

Report generation made easy: With GroupDocs.Assembly for .NET, you can effortlessly insert data from sources like JSON or XML into predefined templates.

Process Native Data Objects

Supported document types include embedded objects like diagrams, charts, tables, and lists that can be populated automatically with data.

Additional Features

GroupDocs.Assembly for .NET provides extensive customization options. Programmatically design data objects, generate barcodes, use online data sources via URLs, and save output in various formats.

Platform independence

GroupDocs.Assembly for .NET is compatible with the following operating systems, frameworks, and package managers.

Amazon
Docker
Azure
VS Code
ReSharper
macOS
Linux
NuGet

Supported file formats

GroupDocs.Assembly for .NET can process the following file formats.

Microsoft Office formats

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

Images & Other Formats

  • Portable: PDF
  • Images: SVG, TIFF
  • Other office formats: ODT, OTT, OTS, ODS, ODP, OTP

Other formats

  • Web: HTML, MHTML
  • Emails: EML, MSG, EMLX
  • Other: EPUB, MD

GroupDocs.Assembly Features

Create documents and reports using advanced data models.

Feature icon

Advanced Data Representation

Supports a wide range of data objects such as charts, lists, tables, images, and more.

Feature icon

Data Manipulation

Apply formulas and sequential operations to format and display data effectively.

Feature icon

Wide Range of Supported Formats

Work seamlessly with all common document formats for templates or output files.

Feature icon

Rich Template Markup

Leverage ordinal, cardinal, and alphabetic numeric formatting in templates.

Feature icon

Embed Barcodes

Generate barcode images dynamically and insert them into your documents.

Feature icon

Data Formatting

Format strings in templates as uppercase, lowercase, capitalized, or first-letter capital styles.

Feature icon

Document Content Manipulation

Dynamically insert content from external documents into your reports.

Feature icon

Save in Multiple Formats

Specify the output file format using file extensions or detailed configurations.

Feature icon

Flexible Data Processing

Insert images and documents dynamically using Base64-encoded bytes.

Code samples

Code snippets for typical GroupDocs.Assembly operations.

Bulleted List in a Microsoft Word Document

Bulleted lists are a common way to present business data. Here’s an example of adding a list to a Word document using GroupDocs.Assembly.

How to Populate a List in Documents

// Insert this template on a document page:
// Managers' performance indicators
// . <<foreach [in products]>><<[ProductName]>>
// <</foreach>>

// Specify the template path
string template = "Bulleted List Template.docx";

// Set the output file path
string result = "Result Report.docx"

// Retrieve managers' data from a JSON source
JsonDataSource dataSource = new JsonDataSource("Report data.json");
DataSourceInfo data = new DataSourceInfo(dataSource, "managers")

// Generate the report with the filled data
DocumentAssembler assembler = new DocumentAssembler();
assembler.AssembleDocument(template, result, data);

Pie Charts in PPTX Presentations

You can create Pie Charts using templates and XML data. Enhance your reports with visually appealing data representations.

How to Represent Data in a Pie Chart

// Add the chart title template to the presentation:
// Customers' revenue <<foreach [in customers]>> 
// <<x [CustomerName]>>

// Also include the chart data template:
// Total Order Price<<foreach [in customers]>> 
// <<x [CustomerName]>>

// Specify the chart template path
string template = "Pie Chart Template.pptx";

// Set the output file path
string result = "Result Report.pptx"

// Retrieve customers' data from an XML source
JsonDataSource dataSource = new JsonDataSource("Chart data.xml");
DataSourceInfo data = new DataSourceInfo(dataSource, "customers")

// Generate the chart and save the result
DocumentAssembler assembler = new DocumentAssembler();
assembler.AssembleDocument(template, result, data);

Ready to get started?

Download GroupDocs.Assembly for free or get a trial license for full access!

Useful resources

Explore documentation, code samples, and community support to enhance your experience.

Temporary license tips

1
Sign up with your work email.
Free mail services are not allowed.
2
Use Get a temporary license button on the second step.
 English