We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Syncfusion Feedback


Trusted by the world’s leading companies

Overview

Template marker is another variant of the template-based approach to importing data, the difference being that the end-user places special markers or placeholders in the template spreadsheet that get replaced along with the data during runtime. This performs similarly to the mail merge feature in Word documents. Syncfusion WinUI Excel Library (XlsIO) allows you to generate various real-world reports like invoices and payroll from formatted Excel templates using Template Markers. This process is faster, and the generated document can be saved as an Excel document, PDF, HTML, and more.


Features

Fast and reliable

With template markers, you can generate complex and reliable reports in a batch process faster than Office automation libraries.

Platform-independent

This non-UI component allows you to code once to import data using template markers and reuse the code in all .NET Framework, .NET Core, and Xamarin platforms.

Create or design template

Excel Library (XlsIO) helps create Excel template documents with marker variables. Marker variables can also be added to an Excel template using Microsoft Excel.

Multiple file formats

Save the data-imported document in multiple file formats like an Excel document, HTML, CSV, TSV, ODS, and PDF.

Import data into a template

Open the Excel template document and replace the marker variables with data from various data sources with a few lines of code. While importing, new rows or columns are added without affecting other data existing in the template document.

Data sources

Import data from a single or multiple data tables, single dimensional arrays, and collection objects that include images. Also, import hierarchical data from multiple tables.

Copy formulas

Excel formulas that are added in a template document to calculate certain values of a row will be copied to the newly imported or inserted rows to display relative calculated values.

Copy styles

Import data and preserve the cell styles and font styles of marker variable cells in the newly inserted rows.

Import images

Import images like JPEG, PNG, BMP, TIFF, and GIF. Also, images can be in imported to a desired position and with a specified size or to a cell’s width and height.

Apply conditional formats

Apply conditional formats to the template marker range with data bars, color scales, and icon sets.

Orientation

Marker variables in a template document followed by arguments control the orientation of data imports. This helps you import data vertically and horizontally.



Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Scroll up icon