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 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.



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

          DataBindingProperties dbp = pptt.CreateDataBindingProperties();
          dbp.Slide = 1;
          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.Slide = 1
          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 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.
 
{excerpt}
{signature:C#}
 public Integer Slide{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property Slide() As Integer
Remarks
Slide is a
{signature}
{remarks}

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