...
Code Block |
---|
//Setting MaxRowsPerSlide dataProps.MaxRowsPerSlide = 5; |
Using MaxRowsPerSlide to fit data on multiple slides
When this property is set, PowerPointWriter will stop importing data when the limit is reached. In order to import all the data in a data source to your presentation, MaxRowsPerSlide should be used with the Continue modifier. The default value is -1 which indicates that all the data in the data source should be imported to a single slide. For more information see Importing Multiple Rows of Data and Fitting Data on to Multiple Slides.
...
Code Block |
---|
//Setting MaxRowsToImport dataProps.MaxRowstoImport = 10; |
...
Importing a single row of data with MaxRowsToImport
Setting MaxRowsToImport = 1 will import a single row of data from a data set with multiple rows. For more information see Importing a Single Row of Data.
...
Code Block |
---|
dataProps.Slide = 2; |
Using Slide with Slide.Copy
Slide allows for data markers across the presentation to have the same name but import from different data sources. When used with Slide.Copy, it is easy to programmatically create and populate multiple slides with the same layout.