Author Topic: Visio-WordArt  (Read 43553 times)

0 Members and 1 Guest are viewing this topic.

JuneTheSecond

  • Hero Member
  • *****
  • Posts: 1027
    • Visio Shapes, Stencils and Sample Drawings
Re: Visio-WordArt
« Reply #30 on: July 14, 2009, 07:06:41 AM »
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)"
« Last Edit: July 14, 2009, 07:23:41 AM by JuneTheSecond »
Best Regards,

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

JuneTheSecond

  • Hero Member
  • *****
  • Posts: 1027
    • Visio Shapes, Stencils and Sample Drawings
Re: Visio-WordArt
« Reply #31 on: August 04, 2009, 04:20:17 AM »
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?


« Last Edit: August 04, 2009, 07:35:48 AM by JuneTheSecond »
Best Regards,

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

rsoby

  • Jr. Member
  • **
  • Posts: 14
Re: Visio-WordArt
« Reply #32 on: October 08, 2009, 12:23:49 PM »
This is way cool - you guys are way too creative
Rich

Visio Guy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1718
  • Smart Graphics for Visual People...n' Stuff
    • Visio Guy
Re: Visio-WordArt
« Reply #33 on: October 08, 2009, 02:08:57 PM »
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