Visio-WordArt

Started by JuneTheSecond, June 04, 2009, 08:06:20 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JuneTheSecond

#30
Hi,

A little update so that line colors of the text can be automatically decided when user changes the fill color of the text.

Line color is the mean value of the fore ground color and back ground color of the text fill color.
The formula to calculate mean value is
strMeanLineColor = "RGB((RED(FillForegnd)+RED(FillBkgnd))*0.5,(GREEN(FillForegnd)+GREEN(FillBkgnd))*0.5,(BLUE(FillForegnd)+BLUE(FillBkgnd))*0.5)"
Best Regards,

Junichi Yoda
http://june.minibird.jp/

JuneTheSecond

#31
Hi,
Above macro worked in Visio2010 preview in my PC.
But the resolution of 3d-shadow is not enough.
Then I changed the 3d-shadows to simple meta file from enhanced meta file.

WordArt in Word 2010 has greatly changed, but VBA seems to support
Office2003 WordArt. Is it correct?


Best Regards,

Junichi Yoda
http://june.minibird.jp/

rsoby

This is way cool - you guys are way too creative
Rich

Visio Guy

Junichi,

Nice job on the auto-line color algorithm. That is interesting to average the foreground and background colors.

I wrote a post on choosing contrasting colors for text (against a background color) that is related to this and might be interesting. Read: Make Your Text Stand Out!.

Also, Saveen Reddy recently posted an interesting article about Edge Rendering Improvement in Visio 2010. In Visio 2010, the rendering of edges is better, so your Visio Word-Art might not even need a line color in order to look smooth!
For articles, tips and free content, see the Visio Guy Website at http://www.visguy.com
Get my Visio Book! Using Microsoft Visio 2010