LockRotate Cell (Protection Section) [Visio 2003 SDK Documentation]

Locks 2-D shapes against being rotated with the rotation handle or the Rotate Left or Rotate Right command.

Value Description

TRUE

Shape cannot be rotated.

FALSE

Shape can be rotated (the default).

Remarks

The LockRotate cell does not prevent a 1-D shape from being rotated when an endpoint is dragged. To lock a 1-D shape against rotation, set the LockWidth cell to a non-zero value (TRUE).

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

Cell name:

LockRotate

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

Section index:

visSectionObject

Row index:

visRowLock

Cell index:

visLockRotate