// For complete examples and data files, please go to https://github.com/groupdocsassembly/GroupDocs_Assembly_NET
static void Main(string[] args)
{
//Setting up source word template
FileStream template = File.OpenRead("../../../../Data/Samples/Source/Pie Chart.docx");
//Setting up destination word report
FileStream output = File.Create("../../../../Data/Samples/Destination/Pie Chart Report.docx");
//Generate the report
DocumentAssembler doc = new DocumentAssembler();
//Beside data source and output path it takes dataSourceObject and dataSourceString
doc.AssembleDocument(template, output, GetProductsData(), "customers");
}