Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Intro

The DataBindingProperties allows customization of how data is imported by PowerPointTemplate.

Jump to:

Definition

The DataBindingProperties object controls how data is bound when the BindData method is called. DataBindingProperties can control the max rows of data per slide, the max total rows of data, and the slide to which the data is bound.

Name

Description

MaxRowsPerSlide

Sets or returns the maximum number of rows to be bound to each slide of template file when the PowerPointTemplate.BindData method is called. DataBindingProperties.MaxRowsPerSlide continues to import more rows of data as long as it can find a data marker with the 'continue' modifier.
DataBindingProperties.MaxRowsPerSlide is limited by the DataBindingProperties.MaxRowsToImport property.

MaxRowsToImport

Sets or returns the maximum number of rows to be bound to the template file when the PowerPointTemplate.BindData method is called. For example, if a data set contains 100 rows of data, but DataBindingProperties.MaxRowsToImport is set to 25, only 25 rows of data will be imported.

The default value is DataBindingProperties.MaxRowsToImport is -1 to indicate that all rows of data should be imported from the data source.

Slide

Sets or returns an integer representing the position of the slide to which the data will be bound during a PowerPointTemplate.BindData method call. DataBindingProperties.Slide allows users to import different data values onto slides that use the same data markers. The slide is specified using the 0-based index of the slide within the presentation.

DataBindingProperties.Slide defaults to -1 which indicates that the data import is not scoped to a particular slide.

Syntax

Basic Syntax

  • No labels