Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{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.
  {excerpt}
{signature:C#}
 public int MaxRowsPerSlide\{ get; set; \}
{signature}{signature:vb.net}
Public Property MaxRowsPerSlide() As Integer
{signature}
{remarks}

{{MaxRows}} is a *Read/Write* property.

{example}{code:csharp|title=C#}

          DataBindingProperties dbp = pptt.CreateDataBindingProperties();
          dbp.MaxRowsPerSlide = 20;
          pptt.BindData(valuesArray, colNamesArray, "DataSource", dbp);
          pptt.Save(Page.Response, "output.pptx", false);
        {code}
{code:vbnet|title=vb.net}

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