Exporting RadDocument freezes application

1 posts, 0 answers
  1. Andreas
    Andreas avatar
    8 posts
    Member since:
    Nov 2012

    Posted 07 Feb 2013 Link to this post

    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?

Back to Top