...
Csharp | ||||
---|---|---|---|---|
| ||||
using SoftArtisans.OfficeWriter.PowerPointWriter; ... PowerPointTemplate PPTT = new PowerPointTemplate(); PPTT.Open(Page.MapPath("Hello World.pptx")); DataBindingProperties DataProps = PPTT.CreateDataBindingProperties(); string value = DataValueBox.Text.Trim(); string[] values = { value }; string[] colNames = { "DataValue" }; PPTT.SetDataSourceBindData(values, colNames, "DataSource1", DataProps); PPTT.Process(); PPTT.Save(Page.Response, "Output.pptx", false); |
Vbnet | ||||
---|---|---|---|---|
| ||||
|
...