Pages

Friday, December 27, 2013

Visio 2013 fill color problem

Recently there was a huge change in my professional life. I`ve moved to another city and found a new job. If for my previous employment I was working on WinForms application (and mostly on Visio integration into it) then now I am a back-end (mostly) web developer. So the focus of my posts will be moved to web questions and solutions.

But for now I want to post my last (probably) note about Visio. One of the problems I faced with Visio 2013 was introduction of the FillGradientEnabled param. Here is a link on MSDN. There is nothing special about it but it interfere  with a common way of filling with FillColor. If you will try to fill a shape with setting FillColor to some value it wont show if the FillGradientEnabled is there and is not False. It took a little for me to figure it out. The special case was with Organisational Chart shapes, as all of them from Visio 2013 have that property inherited from the theme...

So for me the solution was to check if that property is there, and in that case set it to false. After it FillColor worked as before!

No comments:

Post a Comment