Master.DataGraphicHidesText Property

Visio Automation Reference

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.

Aa342073.vs_note(en-us,office.12).gif  Note
This Visio object or member is available only to licensed users of Microsoft Office Visio Professional 2007.

Version Information
 Version Added:  Visio 2007

Syntax

expression.DataGraphicHidesText

expression   An expression that returns a Master object.

Return Value
Boolean

Remarks

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.

See Also