ExcelDataExportInfo Class |
Namespace: Easymap.AddIn.Export
Easymap.Document doc = easymapControl.Document; Easymap.ExcelDataExportInfo info = doc.Export.CreateExcelDataExportInfo(); info.Filename = "test.xlsx"; info.DataSources.Add((Easymap.ILTComponent)doc.DataSources.FindByCaption("Data")); doc.Export.ExportData((Easymap.IDataExportInfo)info);
set app = CreateObject("Easymap.Application") set doc = app.CurrentDocument set info = doc.Export.CreateExcelDataExportInfo() info.Filename = "test.xlsx" info.DataSources.Add doc.DataSources.FindByCaption("Data") doc.Export.ExportData(info)