Sets or returns the maximum number of rows to be bound to the template file when the PowerPointTemplate.BindData method is called.

 public int MaxRowsToImport{ get; set; }
Public Property MaxRowsToImport() As Integer

Any rows in the data source after the MaxRowsToImport value will not be added to the template.

MaxRowsToImport is a Read/Write property.


          DataBindingProperties dbp = pptt.CreateDataBindingProperties();
          dbp.MaxRowsToImport = 20;
          pptt.BindData(valuesArray, colNamesArray0, "DataSource", dbp);
          pptt.Save(Page.Response, "output.pptx", false);
        

          Dim dbp As DataBindingProperties = pptt.CreateDataBindingProperties()
          dbp.MaxRowsToImport = 20
          pptt.BindData(valuesArray, colNamesArray, "DataSource", dbp)
          pptx.Save(Page.Response, "output.pptx", False)