After rendering my document (approx 6000 pages) I need to store the number of pages. Therfore I use the doc.PageCount method. However this line of code kills my CPU and eats a lot of memory.
I've aborted this function after 15 minutes.
Any help on this issue is highly apriciated.
Ron van Leeuwen