Performance of text update in Visio

M

Mikhail Fishbeyn

In my application I need to update up 100 text fields per second. Each text
field is a simple visio rectangle. The update takes almost 100% of CPU time.
I could not find a way to improve performance. So I am considering to draw
text over visio rectangles using GDI+. I would appriciate if anybody can
suggest a better solution?


Thanks,

Mikhail Fishbeyn
 
M

Mark Nelson [MS]

Are you setting the text in shapes directly, or are you setting custom
properties in the rectangle and using text fields to display those
properties?


--
Mark Nelson
Office Graphics - Visio
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
 
S

Shahzad Godil

I already faced this situation. Updating of text is very heavy process. I
was able to increase performance by disabling update using

VisioApplication.ShowChanges = false (before starting of your update
process)
VisioApplication.ShowChanges = true (after finishing your process)

Let me know if you still facing this issue. As we are also refreshing our
display field text (visio shape) in very large quantity in our application.
This is my msn messenger and you can chat me too.

(e-mail address removed)

Thanks
Shahzad Godil
Karachi-Pakistan.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top