...
PowerPointTemplate has a single method for binding data to the data markers that are located in the template: PowerPointTemplate.BindData
. Depending on the data source type and the number of rows in the data source, PowerPointWriter will either import a single row of data or import multiple rows by repeating sections of the presentation.
By default, every appearance of a data marker will be populated with the same data. For example, if %%=Header.CompanyLogo(image) appears on multiple slides, each data marker will be populated with the company logo. This behavior can be overwritten using data binding properties.
Importing a single row of data with BindData
There are two There are several ways to import a single row of data into a data markerpresentation: 1.
- Use a single dimensional array
...
- Use a multi-dimensional data source that only has 1 row of data
- Set the maximum number of rows to import to 1 with the
DataBindingProperties
object
Single Dimensional Arrays
...