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#
public Integer Slide{ get; set; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public Property Slide() As Integer
{signature}
{remarks}

{{Slide}} is a *
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}