We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Drawing performance

Thread ID:

Created:

Updated:

Platform:

Replies:

88148 Jul 16,2009 05:17 AM Apr 27,2011 10:42 AM Windows Forms 3
loading
Tags: Diagram
Murali Krishna
Asked On July 16, 2009 05:17 AM

I have attached the code to draw the nodecollection of about 5000 rectangles.

It is taking about 9 secs.
I need to cut down the performance time by ~2 sec.

Please suggest the necessary steps to be implemented to reduce the performance time.

Thanks in advance,
Krishna



DiagramPerformance_d2a233bd.rar

Roman Kharko
Replied On August 13, 2009 11:25 AM

Have you tried to set Rendering Style ?
By default it is set to "HighQuality"
but you can set it to "HighSpeed"

this.diagram1.Model.RenderingStyle.SmoothingMode = SmoothingMode.HighSpeed;

Witold Slirz
Replied On February 17, 2010 04:50 AM

I've tried to change rendering style.
Perfomance is a bit better, but still extremely slow.
Any other ways to improve speed?

Witold Slirz
Replied On April 27, 2011 10:42 AM

Haho.
Any updates in component?


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;