Message-ID: <1572645983.7651.1711616958747.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_7650_1979555501.1711616958747" ------=_Part_7650_1979555501.1711616958747 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
The DataBindingProperties allows customization of how data is imported b= y PowerPointTemplate.
Jump to: |
---|
=20
|
DataBindingProperties dataProps =3D pptt.CreateDataBindingProper= ties();=20
MaxRows= PerSlide controls how many of rows of data should be imported onto each= slide.
//Setting MaxRowsPerSlide dataProps.MaxRowsPerSlide =3D 5;=20
When this property is set, PowerPointWriter will stop importing data whe= n 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_ modi= fier. 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 R= ows of Data and Fitting Data on to Multiple Slides.
MaxRows= ToImport determines how many total rows of data to import into a presen= tation. PowerPointWriter will stop importing data from the data source when= this limit is reached. The default value is -1 which indicates that data w= ill continue to be imported until the end of the data source is reached.
//Setting MaxRowsToImport dataProps.MaxRowstoImport =3D 10;=20
Setting MaxRowsToImport =3D 1 will import a single row of data from a da= ta set with multiple rows. For more information see Importing a Single Row of Data.
Slide control= s which slide in a presentation a given data source should be imported into= . Slide can be set to the 0-based index of the slide you wish to import dat= a to. The default value is -1 which indicates that the data is not scoped t= o a particular slide.
dataProps.Slide =3D 2;=20
Slide allows for data markers across the presentation to have the same n= ame but import from different data sources. When used with the PowerPointApplication method, Slides.CopySlide(PowerPoint= Writer.Slide, Int), it is easy to programmatically create and populate = multiple slides with the same layout.
See the CopySlide sample for an= example of using the Slide DataBindingProperty with Slides.CopySlide.