Hi
I am using below code snippet to export the report using new crytsal 13 RAS API. It works fine except for one case. If I apply background and foreground color code to column headers, export function crashes and kills the process too without raising any error or exception.
Dim destOptions As DiskFileDestinationOptions = CrystalDecisions.Shared.ExportOptions.CreateDiskFileDestinationOptions() destOptions.DiskFileName = filePath Dim exportOptions As New ExportOptions() exportOptions.ExportDestinationType = ExportDestinationType.DiskFile exportOptions.ExportDestinationOptions = destOptions exportOptions.ExportFormatOptions = formatOptions exportOptions.ExportFormatType = CrystalDecisions.Shared.ExportFormatType.CrystalReport ' Export the report report.Export(exportOptions) portOptions.ExportFormatType = format.Type
I am not sure what is wrong with above code after applying color code.
One more point, after applying color I can preview report using crystal report viewer but can't export it. Even if i try to export it from crystal report viewer after previewing the report, there also same crash is observed.