Quantcast
Channel: Visio General Questions and Answers for IT Professionals forum
Viewing all articles
Browse latest Browse all 2333

Is there any to improve performance on Dropping shapes ?

$
0
0

Hi

I do some batch drop that takes about 2 minutes in my VSTO add-in. I do these just before dropping to improve performance:

VisioApplication.EventsEnabled = 0;
VisioApplication.ShowChanges = false;
VisioApplication.DeferRecalc = 1;
VisioApplication.AutoLayout = false;
LiveDynamics = false;
UndoEnabled = false;

also:  dropmany and setformulas


Do you have any other advice to improve the performance. Actually right now dropping shapes and setting formulas doesn't take that much in my C# code but Visio do some processes after dropping that takes a long time to finish.

Thank you in advance

Danesh



Viewing all articles
Browse latest Browse all 2333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>