InvisibleApp.DefaultRectangleDataObject Property

Visio Automation Reference

Returns an IDataObject interface that represents the Rectangle tool used in the Microsoft Office Visio user interface. Read-only.

Version Information
 Version Added:  Visio 2007

Syntax

expression.DefaultRectangleDataObject

expression   An expression that returns a InvisibleApp object.

Return Value
IDataObject

Remarks

By using the DefaultRectangleDataObject property to get an IDataObject interface, you can create a new rectangle shape linked to data—a result similar to that you would get by dragging a data recordset row onto the page. This property is useful in situations where no master is selected in a docked stencil.

See Also