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.

How to use jump argument in template markers using XlsIO?

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

 

What is jump argument?

 

The argument jump specified in template marker binds the data to the cell at the specified reference. Cell reference addresses can be relative or absolute.

 

When using relative address, the data will be imported for every row. But, when using absolute address, the data will be imported only for that row. We can use combination of relative and absolute addressing for both row and column.

 

For example, when we want to import each data after certain number of rows or columns in the worksheet, we can use jump argument.

 

Syntax

 

%<MarkerVariable>.<Property>;jump:R[index]C[index]

 

Steps to use jump 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 jump argument in XlsIO.

 

 

 

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

 

 

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

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.