Page 1 of 1

Error Rendering RTF to Image

Posted: Fri Aug 04, 2017 4:37 pm
by lou
Using the latest 2017.1 version, we get an exception if we try to render an RTF (even a blank one) to an image. We are calling StiReport.ExportDocument and the exception happens down in Window's System.Drawing.Graphics.DrawImage. Any ideas?


Parameter is not valid.

at System.Drawing.Image.get_RawFormat() at System.Drawing.Graphics.DrawImage(Image image, Rectangle destRect, Rectangle srcRect, GraphicsUnit srcUnit) at Stimulsoft.Report.Painters.StiTableCellRichTextGdiPainter.GetImage(StiComponent component, Single& zoom, StiExportFormat format) at Stimulsoft.Report.Components.StiRichText.GetImage(Single& zoom, StiExportFormat format) at Stimulsoft.Report.Export.StiExcel2007ExportService.WriteSheet(Int32 indexSheet, StiPage page) at Stimulsoft.Report.Export.StiExcel2007ExportService.ExportExcel(StiReport report, Stream stream, StiExcelExportSettings settings) at Stimulsoft.Report.StiReport.ExportDocument(StiExportFormat exportFormat, StiExportService exportService, Stream stream, StiExportSettings settings) at Stimulsoft.Report.StiReport.ExportDocument(StiExportFormat exportFormat, String file, StiExportSettings settings) at

Re: Error Rendering RTF to Image

Posted: Mon Aug 07, 2017 7:39 pm
by Alex K.
Hello,

We couldn't reproduce this bug.
Please try to check the last release, if the issue still present, please send us a simple report which reproduces the issue for analysis.

Thank you.