G
Guest
I am trying to access the ExportOptions in my Form. I have created an object
report
1. CrystalDecisions.CrystalReports.Engine.ReportDocument report
When I try to access the member function ExportOptions it is not available.
I only see the Export, ExportToDisk, ExportToStream and ExportToHttpResponse.
I looked in the Browser and did not see the ExportOptions. What I am trying
to do is:
report.ExportOptions.ExportFormat =
CrystalDecisions.Shared.ExportFormatOptions.Excel; // ??This is the line that
does not work - ExportOptions is not available ??
CrystalDecisions.Shared.ExcelFormatOptions options = new
CrystalDecisions.Shared.ExcelFormatOptions();
options.ExcelUseConstantColumnWidth = useConstantColumnWidth;
options.ExcelConstantColumnWidth = columnWidth;
options.ExcelTabHasColumnHeadings = useColumnHeadings;
report.ExportOptions.FormatOptions = options;
Is it possible that something on my machine is out of date?
report
1. CrystalDecisions.CrystalReports.Engine.ReportDocument report
When I try to access the member function ExportOptions it is not available.
I only see the Export, ExportToDisk, ExportToStream and ExportToHttpResponse.
I looked in the Browser and did not see the ExportOptions. What I am trying
to do is:
report.ExportOptions.ExportFormat =
CrystalDecisions.Shared.ExportFormatOptions.Excel; // ??This is the line that
does not work - ExportOptions is not available ??
CrystalDecisions.Shared.ExcelFormatOptions options = new
CrystalDecisions.Shared.ExcelFormatOptions();
options.ExcelUseConstantColumnWidth = useConstantColumnWidth;
options.ExcelConstantColumnWidth = columnWidth;
options.ExcelTabHasColumnHeadings = useColumnHeadings;
report.ExportOptions.FormatOptions = options;
Is it possible that something on my machine is out of date?