Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Excerpt

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.

Signature
C#
C#
  public int MaxRowsPerSlide\{ get; set; \}
Signature
vb.net
vb.net

Public Property MaxRowsPerSlide() As Integer
Remarks
 MaxRows is a Read/Write property.


Example
Code Block
csharp
csharp
titleC#
          
DataBindingProperties dbp = pptt.CreateDataBindingProperties();
          dbp.MaxRowsPerSlide = 20;
          pptt.BindData(valuesArray, colNamesArray, "DataSource", dbp);
          pptt.Save(Page.Response, "output.pptx", false);
        
Code Block
vbnet
vbnet
titlevb.net
          
Dim dbp As DataBindingProperties = pptt.CreateDataBindingProperties()
          dbp.MaxRowsPerSlide = 20
          pptt.BindData(valuesArray, colNamesArray, "DataSource", dbp)
          pptt.Save(Page.Response, "output.pptx", False)