Page tree

Versions Compared

Key

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

Description

Excerpt

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.

DataBindingProperties.Slide defaults to -1 which indicates that the data import is not scoped to a particular slide.

Signature
C#
C#
<table class="diff-macro"><thead><tr><th class="diff-macro-title">unmigrated-wiki-markup</th></tr></thead><tbody><tr><td class="diff-macro-body"><pre>
 public Integer Slide{ get; set; }
</pre></td></tr></tbody></table>
Signature
vb.net
vb.net
Public <p>Public Property Slide() As Integer</p>Integer
Remarks

Slide is a Read/Write property.

Example
Code Block
csharp
csharp
titleC#
            DataBindingProperties dbp = pptt.CreateDataBindingProperties();
          dbp.Slide = 1;
          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.Slide = 1
          pptt.BindData(valuesArray, colNamesArray, "DataSource", dbp)
          pptt.Save(Page.Response, "output.pptx", False)