Created
December 8, 2015 07:14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For complete examples and data files, please go to https://github.com/groupdocsassembly/GroupDocs_Assembly_NET | |
//Setting up source spreadsheet template | |
const String strPresentationTemplate = "Presentation Templates/In-Table List with Alternate Content_DT.pptx"; | |
//Setting up destination document report | |
const String strPresentationReport = "Presentation Reports/In-Table List with Alternate Content_DT Report.pptx"; | |
try | |
{ | |
//Instantiate DocumentAssembler class | |
DocumentAssembler assembler = new DocumentAssembler(); | |
//Call AssembleDocument to generate In-Table List with Alternate Content Report in presentation format | |
assembler.AssembleDocument(CommonUtilities.GetSourceDocument(strPresentationTemplate), CommonUtilities.SetDestinationDocument(strPresentationReport), DataLayer.GetProductsDT(), "ds"); | |
} | |
catch (Exception ex) | |
{ | |
Console.WriteLine(ex.Message); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment