Aspose::Cells::Drawing::Shape::SetWidthScale method

Shape::SetWidthScale method

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

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

Examples

if (shape.GetWidthScale() == 3)
    shape.SetWidthScale(1);

See Also