Master.DataGraphicHidesText Property (Visio)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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.

Note Note

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.