This is a migrated thread and some comments may be shown as answers.

Exporting RadDocument freezes application

0 Answers 92 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Andreas
Top achievements
Rank 1
Andreas asked on 07 Feb 2013, 08:09 AM
Hey guys,

got a little problem. Nah more like an annoying one.
I looked into you example for raddocument exporting to pdf. I adapted it to my scenario an can successfully export my grid.

The problem i am struggeling with is that when i do the export the whole application freezes for like 30seconds.
I have profiled into this issue an it seems that the RadDocument.Measure() method takes nearly 90% of this time.
The core problem here is it is trying to measure the correct lineheight for each table row i am using (which are like 20.000).

Is there a way to give a fixed row height or something? Maybe using parallel task to do the cpu heavy stuff beside my application?

Greets
Andreas
Tags
RichTextBox
Asked by
Andreas
Top achievements
Rank 1
Share this question
or