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.
RenderWithWpf in Thread
-
- Posts: 31
- Joined: Thu Jul 16, 2015 12:22 pm
RenderWithWpf in Thread
- Attachments
-
- ExportReportToPdf.zip
- (20.93 KiB) Downloaded 209 times
Re: RenderWithWpf in Thread
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.
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 (98.53 KiB) Viewed 1573 times