Aspose::Cells::Drawing::Shape::SetIsAspectRatioLocked method
Shape::SetIsAspectRatioLocked method
True means that aspect ratio of the shape is locked.
void Aspose::Cells::Drawing::Shape::SetIsAspectRatioLocked(bool value)
Remarks
Only for pictures and Ole Objects.
Examples
if (shape.IsAspectRatioLocked() == false)
{
shape.SetIsAspectRatioLocked(true);
}
See Also
- Class Vector
- Class Shape
- Namespace Aspose::Cells::Drawing
- Library Aspose.Cells for C++