Error Rendering RTF to Image

Stimulsoft Reports.NET discussion
Post Reply
lou
Posts: 2
Joined: Fri Aug 04, 2017 12:59 am

Error Rendering RTF to Image

Post 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
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Error Rendering RTF to Image

Post 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.
Post Reply