CompositeLink complink = new CompositeLink(new PrintingSystem()); PrintableComponentLink link = new PrintableComponentLink(); link.Component = gridControl1; complink.Links.Add(link); //... complink.CreatePageForEachLink(); complink.ExportToXlsx("test.xlsx", new XlsxExportOptions() { ExportMode = XlsxExportMode.SingleFilePageByPage });
时间: 2024-09-29 02:32:48