Table of contents
TOC
Collapse the table of content
Expand the table of content

Application.InhibitSelectChange Property (Visio)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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

Syntax

expression . InhibitSelectChange

expression A variable that represents an Application 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 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.

© 2018 Microsoft