ExcelDataExportInfo Class |
Holds the information nesessary to export data tables to excel files
Inheritance Hierarchy Namespace: Easymap.AddIn.ExportAssembly: EasyMap.AddIn (in EasyMap.AddIn.dll) Version: 12.3.0.0
Syntaxpublic sealed class ExcelDataExportInfo : DataExportInfo
Public NotInheritable Class ExcelDataExportInfo
Inherits DataExportInfo
Remarks
Use the Filename property to specify the output file.
Example
Exports a table named "Data"
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)
See Also