Share via


Window.AllowEditing Property

Visio Automation Reference

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

Version Information
 Version Added:  Word 2002

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 Office Visio CD) or on other stencils that have been published to Visio by using an .msi file.

ms427957.vs_note(en-us,office.12).gif  Note
Starting with Microsoft Office Visio 2003, only user-created stencils are editable. By default, Visio stencils are not editable.

See Also