• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

bVisual

  • Home
  • Services
    • How Visio smartness can help your business
    • Visio visual in Power BI
    • Visio Consulting Services
    • Visio Bureau Services
    • Visio Training and Support Services
  • Products
    • Visio Shape Report Converter
    • SS Plus
    • LayerManager
    • visViewer
    • Metro Icons
    • Rules Tools for Visio
    • The Visio 2010 Sessions App
    • Multi-Language Text for Visio
    • Document Imager for Visio
    • multiSelect for Visio
    • pdSelect for Visio
  • Case Studies
    • Case studies overview
    • Using Visio in Education for GIS
    • Visualizing Construction Project Schedules
    • Visio Online Business Process Mapping
    • Nexans Visio Template
    • CNEE Projects, WorldCom
    • Chase Manhattan Bank
  • News
    • Recent news
    • News archive
  • Resources
    • Articles➡
      • ShapeSheet Functions A-Z
      • Comparing Visio for the Web and Desktop
      • Customising Visio Shapes for the Web App
      • Key differences between the Visio desktop and web apps
      • Using the Visio Data Visualizer in Excel
      • Using Visio in Teams
      • Creating Visio Tabs and Apps for Teams with SharePoint Framework (SPFx)
      • Designing Power Automate Flows with Microsoft Visio
      • Innovative uses of Visio Lists
    • Webcasts ➡
      • Visio in Organizations
      • My session and other Visio sessions at MSIgnite 2019
      • Power up your Visio diagrams
      • Vision up your Visio diagrams
      • The Visio 2010 MVP Sessions
    • Visio Web Learning Resources
    • Books➡
      • Visualize Complex Processes with Microsoft Visio
      • Mastering Data Visualization with Microsoft Visio
      • Microsoft Visio Business Process Diagramming and Validation
      • Visualizing Information with Microsoft Visio
  • Blog
    • Browse blog articles
    • Visio Power BI articles
    • Visio for Web articles
    • A history of messaging and encryption
  • About us
    • About bVisual
    • Testimonials
    • Bio of David Parker
    • Contact Us
    • Website Privacy Policy
    • Website terms and conditions
    • Ariba Network
You are here: Home / Shape Design / Styles / Setting Theme defaults in Visio

Published on September 28, 2022 by David Parker

Setting Theme defaults in Visio

I was recently asked how to change the default font size and line weight in Visio, and then saw then many others are asking the same sort of question. I found one reasonable answer suggesting that you should create a new document from your required template, then edit the Styles to suit, and then save as a new personal template. Well, I am not sure I like that answer because it means you must create a duplicate template for each one you use. So, I decided to see if I could find a better way…

Firstly, it is important to know that these default settings are not editable for the whole Visio application, because they are stored in each document, under the Styles collection. You can view the Styles in a document using the Drawing Explorer window that can be opened from the Developer tab.

Select Define Styles in the Drawing Explorer window

Notice that they all inherit from the Theme style. So, editing settings in the Theme ShapeSheet will mean that all the others will inherit the value, unless it has a different one set to override it.

For example, I edited the Theme style in the following example, and changed the Line Width (Weight) of the Shape to 1.25 pt, and the Text / Font / Size to 10 pt.

  • Editing the Font Size of the Style
  • Editing the Line Width of the Style

So, all of the lines that had not been formatted in the diagram immediately changed to 1.25 pt, and the font size of the unformatted text changed to 10 pt… except for the connectors that I added … because they are based on the Connectors style, which had a font size of 8 pt overriding the Style that it is based on.

The connector font size remained unchanged, but Line Widths were updated

So, I edited that style too, and changed the font size to 10 pt, and then everything was as desired.

  • Editing the Connector style
  • Connector font size updated

That is quite a lot of changes to do each time a document is started, and that is why the original answer was to save the document as a new template.

So, if you want to automatically update the Line Weight (LineWeight) and Font Size (Char.Size) of the Connector style, you could put the following formula in a suitable cell of a ShapeSheet. This could be an Action row, for example:

=SETF(GetRef(Styles!Connector!LineWeight),"10 pt")+SETF(GetRef(Styles!Connector!Char.Size),"1.25 pt")

But wait, this is Visio, so why not reference the LineWeight cell and Char.Size cell of the shape itself?

=SETF(GetRef(Styles!Connector!LineWeight),LineWeight)+SETF(GetRef(Styles!Connector!Char.Size),Char.Size)

Then add the same formula to the EventDblClick and EventDrop cells…

  • Add the formula into the SHapeSheet
  • Then simply format the shape as required

Finally, put this shape, called say Set Connector Defaults, into your Favourites, and simply drag and drop it onto a document that you want to update the Connector style of.

  • Before dropping the Set Connector Defaults master
  • After dropping the Set Connector Defaults master

All of the connector shapes, which have not been re-formatted, automatically inherit the new settings.

Just a quick reminder that you may have already been using a template that has a formatted master in the document. This is certainly true for most flowchart diagrams, so simply edit the Dynamic Connector master in the Document Stencil, because all its instances will be automatically updated throughout the document … if they have not been locally formatted.

  • Edit Master Shape in the Document Stencil
  • Change the Font Size and Line Width
  • Close, save and see the updates

Of course, you should always ensure that the Match master by name on drop setting is ticked in the Master Properties...

Credit to my friend John Goldsmith for pointing out that the styles can be updated from the ShapeSheet.

Fixing dimensions of 2D shapes

I am often asked what makes Visio unique and makes it stand out from the crowd, especially in today’s online world. Well, I think there are many reasons, but one of them is the ability to create scaled drawings with parametric components of specific dimensions. This was crucial for my adoption of Visio back in…

Smart Radio Buttons and Check Boxes in Visio

A recent project requires an interactive tutorial within Microsoft Visio desktop where a lot of the questions need a single answer using radio buttons, or multiple-choice answers using check boxes. I thought that this would be a great use of the list containers capability because the questions and answers could be part of the container…

Using Button Face Ids in Visio

Microsoft Visio desktop has the ability to display icons from a built-in list of Office icons on Actions and Action Tags (nee Smart Tags). These can be set in the ShapeSheet by using the desired number from several thousand in the ButtonFace cell. Although there is the ability to add better icons using code, the…

Grid Snapping Revisited

I have previously tackled the subject of snapping to grids in Visio desktop (see https://bvisual.net/2018/06/19/really-snapping-to-grids-in-visio/ ) but a recent project required me to improve the example because it did not respond to all cursor arrow keys. The problem was that the previous solution could not understand which arrow key had been clicked, therefore it did…

Synchronizing Visio Shape Fill Color (or almost any cell) across pages

I was recently asked how the color of one shape can be changed and for other shapes to be automatically updated to the same color … even if they are on different pages! Well, it is possible with Microsoft Visio’s awesome ShapeSheet formulas. In fact, this capability is not limited to the FillForegnd cell ……

Positioning Visio Shape Text Block with a Control Handle

I was recently asked how a control handle can be added to a Visio shape so that it can be used to re-position the text block. Fortunately, it is extremely easy to setup, and requires just two formulas to be updated in the ShapeSheet. This is a great use of the SETATREF(…) function. (more…)

Related

Filed Under: ShapeSheet Formulas, Styles, Themes, Visio Tagged With: ShapeSheet, Styles, Visio

About David Parker

David Parker has 25 years' experience of providing data visualization solutions to companies around the globe. He is a Microsoft MVP and Visio expert.

Reader Interactions

Comments

  1. mike anthony says

    November 22, 2023 at 9:29 pm

    HI, in visio drawing explorer, i selected ‘basic’ but i Accidentaly clicked ‘delete style’ instead of ‘define style’ how do i get ‘basic’ back?

    Reply
    • David Parker says

      November 29, 2023 at 1:04 am

      Copy and paste a shape that has your custom Basic style into the file that is missing it. That should bring it back.

      Reply
  2. Thankful says

    March 7, 2025 at 10:09 pm

    Thank you for the informative lesson. Teach a man to fish you feed him for a lifetime.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

  • LinkedIn
  • Twitter

Recent Posts

  • Fixing dimensions of 2D shapes
  • Merging Linked Data from Similar Tables
  • Smart Radio Buttons and Check Boxes in Visio
  • Using Button Face Ids in Visio
  • Grid Snapping Revisited

Categories

Tags

Accessibility Add-Ins Connectors Containers Data Export Data Graphics Data Import Data Visualizer Educational Excel GraphDatabase Hyperlinks Icon Sets JavaScript LayerManager Layers Legend Link Data to Shapes Lists MSIgnite MVP Office365 Org Chart PowerApps PowerBI PowerQuery Processes Setup and Deployment Shape Data Shape Design ShapeSheet ShapeSheet Functions SharePoint 2013 SQL Teams Validation VBA Video Visio Visio 2007 Visio for the Web Visio Online Visio Services Visio Viewer Webinar

Footer

bVisual Profile

The UK-based independent Visio consultancy with a worldwide reach. We have over 25 years experience of providing data visualization solutions to companies around the globe.

Learn more about bVisual

  • Amazon
  • E-mail
  • Facebook
  • LinkedIn
  • Twitter
  • YouTube

Search this website

Recent posts

  • Fixing dimensions of 2D shapes
  • Merging Linked Data from Similar Tables
  • Smart Radio Buttons and Check Boxes in Visio
  • Using Button Face Ids in Visio
  • Grid Snapping Revisited

Copyright © 2025 · Executive Pro on Genesis Framework · WordPress · Log in