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

Description

The DataBindingProperties object contains the properties information necessary to bind data to a PowerPointWriter template.

C#
vb.net

Remarks

The DataBindingProperties object must be created using the PowerPointTemplate.CreateDataBindingProperties method:

C#
vb.net

Properties

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.

  • No labels