VisReplaceFlags Enumeration
TOC
Collapse the table of content
Expand the table of content

VisReplaceFlags Enumeration (Visio)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Shape-replacement flags sent to the Shape.ReplaceShape and Selection.ReplaceShape methods and returned by the ReplaceShapesEvent.ReplaceFlags property, singly or in combination.

Name

Value

Description

visReplaceShapeDefault

0

Use the behavior specified by the ShapeSheet cells ReplaceLockText, ReplaceLockShapeData, and ReplaceLockFormat, all in the Change Shape Behavior section.

visReplaceShapeKeepBasic

1

Override the behavior specified by the following ShapeSheet cells, all in the Change Shape Behavior section: behave as if ReplaceLockText = 0, ReplaceLockShapeData = 0, and ReplaceLockFormat = 0.

visReplaceShapeLockFormat

8

Override the behavior specified by the ReplaceLockFormat cell in the Change Shape Behavior section: behave as if ReplaceLockFormat = 1.

visReplaceShapeLockShapeData

4

Override the behavior specified by the ReplaceLockShapeData cell in the Change Shape Behavior section: behave as if ReplaceLockShapeData = 1.

visReplaceShapeLockText

2

Override the behavior specified by the ReplaceLockText cell in the Change Shape Behavior section: behave as if ReplaceLockText = 1.

Show:
© 2016 Microsoft