AutoLayout Property [Visio 2003 SDK Documentation]

Allows you to temporarily disable automatic layout functionality in Microsoft Office Visio and then re-enable it after you are finished with an action.

boolRet = object**.AutoLayout**

object**.AutoLayout** = boolValue

boolRet     Boolean. True if automatic layout is enabled, False if it is disabled.

object     Required. An expression that returns an Application object.

boolValue     Required Boolean. True to enable automatic layout; False to disable automatic layout.

Version added

2000

Remarks

Using the AutoLayout property helps to improve the performance of add-ons that execute many operations in connected drawings that use Visio automatic layout functionality.

Applies to | Application object | InvisibleApp object

See Also | DeferRecalc property | LiveDynamics property | ScreenUpdating property | ShowChanges property