Window.AllowEditing Property (Visio)

Determines whether the Edit Stencil command is enabled or disabled in a stencil window. Read/write.

Syntax

expression. AllowEditing

expression A variable that represents a Window object.

Return Value

Boolean

Remarks

Use the AllowEditing property to prevent unintentional editing in stencils. Setting the value of this property for stencils that are already open for editing has no effect. This property has no effect on Visio stencils (stencils that are shipped on the Microsoft Visio CD) or on other stencils that have been published to Visio by using an .msi file.

Note Only user-created stencils are editable. By default, Visio stencils are not editable.