Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
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.



{remarks}
{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}

{example}
Signature
C#C#
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}{signature:vb.net
vb.net
}
Public Property MaxRowsPerSlide() As Integer
Remarks
MaxRows is a
{signature}
{remarks}

{{MaxRows}} is a *Read/Write* property.
Example
Code Block
csharpcsharp
titleC#
Code Block
vbnetvbnettitle