Share via


InvisibleApp.InhibitSelectChange Property

Visio Automation Reference

Determines whether shapes added to the drawing page by Automation are selected. Read/write.

Version Information
 Version Added:  Visio 2002

Syntax

expression.InhibitSelectChange

expression   A variable that represents an InvisibleApp object.

Return Value
Boolean

Remarks

Use the InhibitSelectChange property to control shape selection and increase performance when dropping a series of shapes in the drawing window programmatically. When the InhibitSelectChange property is True, Microsoft Office Visio does not select any shapes after they are dropped. Your solution, however, can select shapes.

Additionally, Visio attempts to preserve currently selected shapes whenever possible, unless shapes are deselected by the solution.

If a program neglects to turn the InhibitSelectChange property off (False) after turning it on, the Visio instance will turn it back off when the user performs an operation.

See Also