I have a Windows Forms App and I am getting the error TIF rendering format is not available when trying to use the RenderReport method of the ReportProcessor class.
Here is my code:
strFileType is set to tif
reportBook is a report book that contains 2 reports
I have both Telerik.Reporting and Telerik.RepotViewer.WinForms referenced in my app
Am I doing something wrong?
Here is my code:
| ReportProcessor reportProcessor = new ReportProcessor(); |
| RenderingResult report = reportProcessor.RenderReport(strFileType, reportBook, null); |
| using (fs = new FileStream(fileLocation, FileMode.Create)) |
| { |
| fs.Write(report.DocumentBytes, 0, report.DocumentBytes.Length); |
| } |
strFileType is set to tif
reportBook is a report book that contains 2 reports
I have both Telerik.Reporting and Telerik.RepotViewer.WinForms referenced in my app
Am I doing something wrong?