AutoLayout property

Microsoft Visio Developer Reference

AutoLayout property

   Example   

Allows you to temporarily disable the action of the automatic layout functionality, and then reenable it after you are finished with an action.

Version added

2000

Syntax

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.

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.