This guide will explain the syntax and naming conventions of PowerPointWriter data markers, as well as data marker modifiers which can change how data is imported.


A data marker is a string used as a placeholder for data that will be imported by PowerPointWriter's PowerPointTemplate object. Each data marker corresponds to a column in a data source. The data markers are added to the template in PowerPoint and then populated at run time using PowerPointTemplate.


Basic Syntax

Data markers use the following syntax: %%=DataSourceName.ColumnName

For more information on the types of data sources supported by PowerPointWriter and how to bind data to a template, see Importing a Single Row of Data and Importing Multiple Rows of Data.

Allowed Characters

Additionally, the data source name and the column name must follow these rules:

Ordinal Syntax

Data markers can also be defined using *ordinal syntax*, which allows you to specify the data source and column names using numbers. This gives you flexibility if you don't know the names of your data columns or if you want to generalize a template.

Ordinal syntax is as follows: %%=<DataSourceNumber>.<ColNumber> where:

Ordinal syntax can be used with regular syntax:

See the fieldname modifier below for more about importing column names with ordinal syntax.


Modifiers can effect how data is imported into the template file. Modifiers use the following syntax: %%=DataSourceName.ColumnName(modifier).

List of Modifiers

ModifierBehaviorAdditional References

The continue modifier allows data to be imported onto multiple slides in a presentation.
Set DataBindingProperties.MaxRowsPerSlide to limit the number of rows that can be
imported on a slide and then use the continue modifier to continue importing the additional rows.

Fitting Data on to Multiple Slides


The image modifier is used to import an image into a presentation. The image modifier has
parameters that can control the dimensions and aspect ratio settings of the imported image.

Importing Images


The *fieldname* modifier will import the column name from the data source, rather than the
actual data. Use with ordinal syntax to dynamically import column names.

See ordinal syntax above.