## Shape::SetIsAspectRatioLocked method


True means that aspect ratio of the shape is locked.

```cpp
void Aspose::Cells::Drawing::Shape::SetIsAspectRatioLocked(bool value)
```

## Remarks


Only for pictures and Ole Objects. 

## Examples


```cpp
if (shape.IsAspectRatioLocked() == false)
{
    shape.SetIsAspectRatioLocked(true);
}
```

## See Also

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