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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to use horizontal argument in template markers using XlsIO?

This article explains how to use horizontal argument in template markers using XlsIO.

 

What is horizontal argument?

 

The argument horizontal specified in template marker fills data in horizontal direction. By default, the data filling is in vertical direction.

 

Syntax

 

%<MarkerVariable>.<Property>;horizontal

 

Steps to use horizontal argument

 

  1. Create a workbook template with markers in it. Here, Employee is the marker variable referred to a class object, followed by its properties separated by dot (.).

 

 

The below screenshot shows how the markers are applied in workbook template.

 

                        

 

  1. Create template marker processor.

 

 

  1. Add a variable name that is equal to the class object specified in step 1.

 

 

  1. Apply markers.

 

 

Download Complete Sample

 

The following C#/VB.NET complete code snippet shows how to use template marker with horizontal argument in XlsIO.

 

 

 

 

The below screenshot shows the output document generated using template markers with horizontal argument.

 

 

Article ID: Published Date: Last Revised Date: Platform: Control:
8383 02/01/2018 02/01/2018 Windows Forms XlsIO
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon