Share via


AllowEditing Property [Visio 2003 SDK Documentation]

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

boolRet = object**.AllowEditing**

object. AllowEditing = boolValue

boolRet     Boolean. True if the Edit Stencil command is enabled in a stencil window; False if it is disabled.

object     Required. An expression that returns a Window object.

boolValue     Required Boolean. True to enable the Edit Stencil command; False to disable it.

Version added

2002

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.

Note  Starting with Microsoft Office Visio 2003, only user-created stencils are editable. By default, Visio stencils are not editable.

Applies to | Window object