Get Started
Usage API
More information

SetLockValue

SetLockValue(sType, bValue) → { bool }

Sets the lock value to the specified lock type of the current drawing.

Parameters:

Name Type Description
sType "noGrp" | "noUngrp" | "noSelect" | "noRot" | "noChangeAspect" | "noMove" | "noResize" | "noEditPoints" | "noAdjustHandles" | "noChangeArrowheads" | "noChangeShapeType" | "noDrilldown" | "noTextEdit" | "noCrop" | "txBox"

Lock type in the string format.

bValue bool

Specifies if the specified lock is applied to the current drawing.

Returns:

Type
bool