Aspose::Cells::Drawing::Shape::SetHeightScale method

Shape::SetHeightScale method

Gets and sets the height scale,in unit of percent of the original picture height. If the shape is not picture ,the HeightScale property only returns 100;.

void Aspose::Cells::Drawing::Shape::SetHeightScale(int32_t value)

Examples

if (shape.GetHeightScale() == 3)
    shape.SetHeightScale(1);

See Also