VisReplaceFlags enumeration (Visio)

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

Members

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.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.