Share via


Master.DataGraphicShowBorder Property

Visio Automation Reference

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

Aa342075.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.DataGraphicShowBorder

expression   An expression that returns a Master object.

Return Value
Boolean

Remarks

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.

See Also