RenderWithWpf in Thread

Stimulsoft Reports.WPF discussion
Post Reply
OC-Thorsten
Posts: 31
Joined: Thu Jul 16, 2015 12:22 pm

RenderWithWpf in Thread

Post by OC-Thorsten »

Hi,

we have a problem when rendering the report in a task.
The RenderWithWpf method would like to run as STA-Thread.
The problem occurs only when "Can Grow" or "Can Shrink" are set in RTF box.

I've attached an example project.
Attachments
ExportReportToPdf.zip
(20.93 KiB) Downloaded 209 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: RenderWithWpf in Thread

Post by Alex K. »

Hello,

It is not possible to create any components in the thread.
When used the RichText component we use the standard WPF component and it created in rendering with RenderWithWpf() method.
In this case, you can use the Render() method instead the RenderWithWpf()

Thank you.
Attachments
Capture.PNG
Capture.PNG (98.53 KiB) Viewed 1573 times
Post Reply