...
Code Block |
---|
PowerPointTemplate pptt = new PowerPointTemplate(); pptt.Open(Page.MapPath("//templates//part1_template.pptx")); DataBindingProperties dataProps = pptt.CreateDataBindingProperties(); object[] valuesArray = { "Project Name", "Project Date", "Review", "Leader Name", "Start Date", "Cost Estimate", "Project Summary" }; string[] columnNamesArray = {"Name", "Date", "ReviewStatus", "Leader", "Start", "Estimate", "Summary"}; pptt.BindData(valuesArray, columnNamesArray, "Proposal", dataProps); pptt.Process(); pptt.Save(Page.Response, "Part1_Output.xlsx", false) |
Downloads
Next Steps
You have now completed part 1 of the PowerPointWriter Project Proposal tutorial. Continue on to Part 2 - Repeat Behavior and Repeat Slide