...
If a multidimensional array (Object[,]
) or a jagged array (Object[][]
) contains multiple rows, PowerPointWriter will import all the rows using built-in repeating behavior. To import a single row of data using a multidimensional or jagged array, the array can only contain a single row of data. For more information about using arrays to import multiple rows of data, please see Importing Multiple Rows of Data.
Example:
Code Block |
---|
//TODO {code:csharp|title=C#} string[] values = {"Hello World", "subtitle"}; string[] colNames = {"header", "subtitle"}; DataBindingProperties DataProps = pptt.CreateDataBindingProperties(); ppt.BindData(values, colNames, "DataSource1", DataProps); |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
Dim values = New String() {"Hello World", "subtitle"}
Dim colNames = New String() {"header", "subtitle"}
Dim DataProps As DataBindingProperites = pptt.CreateDataBindingProperties();
pptt.BindData(values, colNames, "DataSource1", DataProps);
|
Code Block |
---|
Custom objects
TO FILL IN AFTER THE MULTIPLE ROWS WITH NOTE ABOUT "ONLY 1 ROW OF DATA"
...