Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

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; }
{signature}{signature:</pre></td></tr></tbody></table>
} Public
Signature
vb.net
vb.net

<p>Public Property Slide() As Integer
{signature}
{remarks}

{{Slide}} is a *Integer</p>
Remarks

Slide is a Read/Write

*

property.

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

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} {code:vbnet|title=
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)
        
{code} {example}