This documentation is archived and is not being maintained.

ObjType Cell (Miscellaneous Section)

Office 2007

Determines whether objects are placeable or routable in diagrams when you use the Configure Layout command to lay out shapes.

ValueDescriptionAutomation constant

&H0

Default. The application decides based on the drawing context.

visLOFlagsVisDecides

&H1

Shape is placeable.

visLOFlagsPlacable

&H2

Shape is routable. Must be a one-dimensional (1-D) shape.

visLOFlagsRoutable

&H4

Shape is not placeable, not routable.

visLOFlagsDont

&H8

Group contains placeable/routable shapes.

visLOFlagsPNRGroup

Remarks

By default, the ObjType cell is set to No Formula for a shape, which evaluates to 0, meaning that the application determines whether the shape can be placeable depending on its context. For example, if you draw a simple rectangle, the value of its ObjType cell is 0. If you then use the Connect Shapes command or the Connector tool to connect the rectangle to another shape, Visio resets the value of the rectangle's ObjType cell to 1 (placeable).

The value of the ObjType cell can be a combination of values. If the non-placeable bit is set (&H4), however, it takes precedence over other values except the group value (&H8).

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

Cell name:

ObjType

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

Section index:

visSectionObject

Row index:

visRowMisc

Cell index:

visLOFlags



Show: