• Categories

  • Archives

  • Subscribe

  • Meta

Circular Text Generator (version 1)

Posted by Visio Guy on October 18th, 2007 5310 views

Read Full ArticleOK, we've just about had enough! Between all the newsgroup posts, and John Marshall's nagging, it's time to do something about adding text to a circle in Visio. 'Til now, the standard response has been; "insert a Word Art object". But with Visio's SmartShape- and automation capabilities that just won't do! We ought to be able to build something cool--and more native to Visio. This article presents the first in a series of the Circular Text Generator!

Getting Started

The companion download at the end of this article contains a zipped Visio file that will help you create text that wraps nicely around a circle! You can resize the circle, format the text, and reposition the text's starting point to get just the look that you want! But in order to get the "generator" to work, you'll need to allow the VBA macros inside of the document permission to run. If you're not familiar with VBA macros, and the related security issues, please have a look at VBA Macro Security first. Once you've downloaded the file, opened the document, checked the code, and enabled the macro code to run, you'll be ready to rock-n-roll!

Running the Generator

To generate circular text, you simply need to click the button on the page. You'll be presented with an input dialog, into which you can enter any message you want:

Circular Text Generator Dialog

After you click OK, you'll see something like this:

Circular Text Generator Output

Tweaking the Output

The result is a system of shapes, not a single smart shape. Note the light-blue, dotted circle, diagonal line and cross hairs. This is the Guide Shape. The characters are bound to the guide via smart formulas in their ShapeSheets. Thus, the guide serves as a sort of User Interface for changing the look of your curved text. You only need to select the guide shape to do any of the following operations:

  • Resize the circle
  • Reposition the entire system
  • Change the starting position of the text

Note: the guide does not print, so you don't have to worry about funny looking circles in your finished, printed documents! Below, you can see the yellow control handle that appears when the guide is selected. Just drag this to change the starting location of your message:

Circular Text Generator User Interface

Since the characters are separate shapes, you can simply select any number of them by either dragging a selection net around the characters, or by Shift + Clicking individual letters. The formatting of the characters is not locked in any way, so you can change the color, style and size of each character. You can even change the character itself, although there is no way to edit the whole message. If you need to change the text, simply create a new system by clicking the button.

Circular Text Generator Samples

We hope you find version 1 of the Circular Text Generator useful and easy-to-use. We will be periodically enhancing the capabilities of the tool, so check back often! Download Circular Text Generator (version 1).zip (71 KB)

Update: There's a new version, but the info in this article still applies to the new version. See: Circular Text Generator (version 2)

Share this article!

These icons link to social bookmarking sites where readers can share and discover new web pages.

  • StumbleUpon
  • Digg
  • del.icio.us
  • Technorati
  • YahooMyWeb
  • Slashdot

Related Posts:

22 Responses to “Circular Text Generator (version 1)”

  1. Mark Nelson (MS) Says:

    Very impressive! Nice work, Chris.

  2. Nicolas Lanquetin Says:

    Thank you soo much for this great tool! This feature was really missing in visio :-)

  3. Art Braune Says:

    Could something similar be created to put the text inside the circle?

    This is something I have been looking for in Visio for some time - thanks!

  4. Visio Guy Says:

    Hi Art,

    I’m planning to add features to this over the coming months. One of those features will be to be able to shift the “baseline” so you can move the text in and out with respect to the circle.

    So check back now and then! I suppose I should figure out how to e-mail new-post notifications to you readers :)

    - Chris

  5. Art Braune Says:

    Chris,

    No worries on an email alert system - I am checking in often enough. 8^)

    Another thought on the circular text generator - have a radio button that selects “clockwise” or “counter-clockwise” for the text direction.

    Thanks!
    Art

  6. Th3G4mbl3r Says:

    Great site and great stuff mate… I was really trying hard for the circular arrows and text and you’ve just delivered me right out of my mess.

  7. Art Braune Says:

    Chris,

    Is there any way to “hard set” or enter the starting angle in a control box on the text start handle?

    After adding text it becomes more difficult to get precise control - 45 degrees, 90 degrees, etc.

    Thanks!
    Art

  8. Visio Guy Says:

    Hi Art,

    There’s no numerical setting for the starting angle. It works well on my machine. It might have to do with computer- or video speed. You might fiddle with the live dynamics setting:

    Tools > Options > General Tab: Uncheck “Enable Live Dynamics”

    This will make it easy to push the yellow handle around, but you won’t see what you’ve done until you let the mouse button up.

  9. Paul Curnock Says:

    Have been after this for a long time now. Thanks again.

  10. Trampas Says:

    Great Tool. Seems unfair to ask for adjustments, but I will anyways. How can I make the set the letters to be closer together. I need to be able to squeeze more text into one slice (arc) of the circle.

  11. Visio Guy Says:

    Hi Trampas,

    A few things you might try:

    - Use a narrow font, like ‘Arial Narrow’
    - Look under Format > Text > Character Tab. There you can shrink the width of the characters, or the spacing between the characters. This might help
    - Check back for updated versions now and then. I’m not sure when version 2 will appear, but it’s in the works…

    Cheers,

    - Chris

  12. Kevin Says:

    Visio Guy,

    Kudos on this script. It has helped my group at work significantly with some graphics we are making.

    I too am interested in the additional functionality when you get to it - The ability to write inside the circle as well so that you can curve text down or up.

    Cheers,

    Kevin

  13. Visio Guy Says:

    …well, I suppose Christmas is just around the corner! :)

    - Chris

  14. Art Braune Says:

    Chris,

    This “Gem” of an article has disappeared from the front page and the archive page - I had to access it from the “Index” page.

    Thought you should know…

    Any updates as Christmas has just past?

    Thanks!
    Art

  15. James Says:

    Great work! Is there any hope for older versions (Visio 2002) or perhaps posting the script?

    Regards,
    James

  16. Visio Guy Says:

    Hi Art B,

    You have helped me find a bug in my archive code. This article had indeed disappeared!

    It was stuck between the post-excerpts-with-icons, and the shorter entries. I’ve added a “<=” in place of an “<”, and now everything works! Thanks for catching this.

    Hmm…and yes, Christmas is past. Perhaps the I should upload the next version soon…perhaps an offering to ensure a Seahawks 1st-round playoff victory?

    Cheers,

    Chris

  17. Art Braune Says:

    Please upload the new version - love to give it a spin.

    As for football - this season’s high points were the Bears beating the Packers in both games this season…

    Thanks!
    Art

  18. Visio Guy » Blog Archive » Circular Text Generator (version 2) Says:

    […] Circular Text Generator (version 1) […]

  19. Visio Guy Says:

    Ok Art,

    Version 2 is finally here! Circular Text Generator (version 2)

    Cheers,

    - Chris

  20. Gary Says:

    At last an ongoing problem is solved! Thanks so much for this text generator.

  21. john Says:

    Will this work with Visio 2002 sp2? Our corporate is a bit behind and I can not open the downloads

  22. Visio Guy Says:

    Hi John,

    See version 2 of this tool. There’s a Visio 2002 version posted there.

    - Chris

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

  • Tag Cloud

  • Recent Comments on Visio Guy

  • RSS The Latest from the Visio Guy Forum

  •