LockRotate 单元格(“Protection”部分)LockRotate Cell (Protection Section)

锁定二维形状,以免它随旋转手柄或者 “向左旋转 90°”“向右旋转 90°” 命令旋转。Locks 2-D shapes against being rotated with the rotation handle or the Rotate Left 90° or Rotate Right 90° command.

Value 说明Description
TRUETRUE
不能旋转形状。Shape cannot be rotated.
FALSEFALSE
可以旋转形状(默认值)。Shape can be rotated (the default).

注解Remarks

当拖动一维形状的某个端点时,LockRotate 单元格不能阻止该形状旋转。要锁定一维形状以免其旋转,请将 LockWidth 单元格设置为非零值 (TRUE)。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).

若要从另一个公式或使用 CellsU 属性从某个程序按名称获取对 LockRotate 单元格的引用,请使用:To get a reference to the LockRotate cell by name from another formula, or from a program using the CellsU property, use:

单元格名称:Cell name:
LockRotateLockRotate

若要从某个程序按索引获取对 LockRotate 单元格的引用,请使用带下列参数的 CellsSRC 属性:To get a reference to the LockRotate cell by index from a program, use the CellsSRC property with the following arguments:

内容索引:Section index:
visSectionObjectvisSectionObject
行索引:Row index:
visRowLockvisRowLock
单元格索引:Cell index:
visLockRotatevisLockRotate