## Shape::SetLockedProperty method


Set the locked property.

```cpp
void Aspose::Cells::Drawing::Shape::SetLockedProperty(ShapeLockType type, bool value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| type | ShapeLockType | The locked type. |
| value | bool | The value of the property. |


## Examples


```cpp
shape.SetLockedProperty(ShapeLockType::AdjustHandles, true);
```

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Enum [ShapeLockType](../../shapelocktype/)
* Class [Shape](../)
* Namespace [Aspose::Cells::Drawing](../../)
* Library [Aspose.Cells for C++](../../../)
