Page 1 of 1

RenderWithWpf in Thread

Posted: Wed Jun 08, 2016 4:35 am
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.

Re: RenderWithWpf in Thread

Posted: Wed Jun 08, 2016 11:00 am
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.