Aspose::Cells::Drawing::Shape::IsLockAspectRatio method

Shape::IsLockAspectRatio method

True means that don’t allow changes in aspect ratio.

bool Aspose::Cells::Drawing::Shape::IsLockAspectRatio()

Examples

if (shape.IsLockAspectRatio() == false)
{
    shape.SetIsLockAspectRatio(true);
}

See Also