set_locked_property method

set_locked_property

Set the locked property.

def set_locked_property(self, type, value):
    ...
ParameterTypeDescription
typeShapeLockTypeThe locked type.
valueboolThe value of the property.

Example

from aspose.cells.drawing import ShapeLockType

shape.set_locked_property(ShapeLockType.ADJUST_HANDLES, True)

See Also