When i call the report.RenderWithWPF() function in a service i get the following error:
StiRenderProviderV2: Method : [GetPainter] : StiPainter for 'Stimulsoft.Report.Components.StiText' is not found!
full error log in attachement:
Code:
Report.Load(Path.Combine(TemplatePath, TemplateFile));
Report.Dictionary.Databases.Clear();
Report.RegData("tdsReportData", ReportData);
Report.RenderWithWpf(false);
- This error occurs with all our mrt files.
- I have tried this with version 2017.1.4 and 2018.2.3 but got the same results.
- The mrt files are generated without any problems in the WPF designer and from code in a WPF application.
- If i call report.Render() everything works as expected, but all our other documents are generated with WPF and we would like to use the same method everywhere.
Is it possible to call RenderWithWPF from a non WPF application?
Or am i just doing something wrong?
Thanks,
Nick