ShapeFixedCode Cell (Shape Layout Section)

Specifies placement behavior for a placeable shape.

Value Selection mode Automation constant
&H1
Don't move this shape when shapes are laid out by using the Configure Layout dialog box. visSLOFixedPlacement
&H2
Don't move this shape and do not allow shapes that plow to be placed on top of it. visSLOFixedPlow
&H4
Don't move this shape and allow shapes that plow to be placed on top of it. visSLOFixedPermeablePlow
&H20 (32)
Ignore connection point locations when being routed to. visSLOFixedConnPtsIgnore
&H40 (64)
Only allow routing to sides with connection points. visSLOFixedConnPtsOnly
&H80 (128)
Don't glue to the perimeter of this shape. Glue to the shape's alignment box instead. visSLOFixedNoFoldToShape

Remarks

You can also set the value of this cell on the Placement tab in the Behavior dialog box (with a shape selected, on the Developer tab, in the Shape Design group, click Behavior, and then click the Placement tab).

You can set any combination of these values for this cell. For example, you can enter the value 3 (&H3), which eliminates movement when you lay out shapes by using the Configure Layout dialog box (on the Design tab, in the Layout group, click Re-Layout Page, and then click More Layout Options ) and when other placeable shapes are placed on or near the shape.

In versions earlier than Visio 2000, you set this behavior using the ObjInteract cell in the Miscellaneous section.

To get a reference to the ShapeFixedCode cell by name from another formula, or from a program by using the CellsU property, use:

Value
Cell name:
ShapeFixedCode

To get a reference to the ShapeFixedCode cell by index from a program, use the CellsSRC property with the following arguments:

Value
Section index:
visSectionObject
Row index:
visRowShapeLayout
Cell index:
visSLOFixedCode