Master.DataGraphicShowBorder property (Visio)

Gets or sets whether a border is displayed around the graphic items contained in the data graphic that are in default positions. Read/write.


This Visio object or member is available only to licensed users of Visio Professional 2013.


expression. DataGraphicShowBorder

expression An expression that returns a Master object.

Return value



Setting the DataGraphicShowBorder property to False (0) hides the border around graphic items contained in the data graphic that are at the default position. Setting the property to True (-1) displays the border. The default is to hide the border (False).

The value of the DataGraphicShowBorder property corresponds to the setting of the Show border around items at default position box under Display options in the New Data Graphic or Edit Data Graphic dialog box.

A data graphic is a Master object of type visTypeDataGraphic. Before you can set any property of a data graphic master, you must use the Master.Open method to open a copy of the data graphic master for editing. When you are finished setting properties, use the Master.Close method to commit changes.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.