News:

BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

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

Browser ID: smf (possibly_robot)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 205 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1097KB.
Tokens: post-login.
Cache hits: 13: 0.00132s for 26,722 bytes (show)
Cache misses: 3: (show)
Queries used: 17.

[Show Queries]