Master.DataGraphicHidesText property (Visio)

Displays or hides the text of a shape or of the primary shape in a selection when a data graphic is applied to the shape or to the selection. Read/write.


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


expression. DataGraphicHidesText

expression An expression that returns a Master object.

Return value



Setting the DataGraphicHidesText property to False (0) displays the shape text. Setting the property to True (-1) hides the text. The default is to display the text (False).

The value of the DataGraphicHidesText property corresponds to the setting of the HIde shape text when data graphic is applied 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.