DataBindingProperties
The DataBindingProperties object contains the properties information necessary to bind data to a PowerPointWriter template.
- DataBindingProperties.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.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.
- DataBindingProperties.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.
PowerPointTemplate
The PowerPointTemplate object represents a PowerPointWriter template presentation.
- PowerPointTemplate.BindData
- PowerPointTemplate.ClearDataSources() — Clears the data source assoicated with the PowerPointTemplate object. This allows the same template to be re-used with multiple, different sets of data.
- PowerPointTemplate.CreateDataBindingProperties() — Creates a DataBindingProperties object for assigning the property values associated with one or more data binding calls.
- PowerPointTemplate.LicenseKey — Sets or returns the 23-character license key that enables PowerPointWriter for the current instance. This key is stored in the registry and contains information including product name and version number.
- PowerPointTemplate.Open
- PowerPointTemplate.PowerPointTemplate() — Creates a new PowerPointTemplate object
- PowerPointTemplate.Process() — The Process method replaces the template's data markers with actual values from the data sources, and creates the output file (the new presentation file) in memory. The Save method can then save the output file to disk, stream it to the browser, or both.
- PowerPointTemplate.RemoveExtraDataMarkers — Sets whether PowerPointWriter should remove data markers in the template that do not bind to data sources in code.
- PowerPointTemplate.Save
- PowerPointTemplate.Version — Returns the exact version of PowerPointWriter. The format of the version string returned is: