Aspose::Cells::Drawing::Shape::GetWidthScale method

Shape::GetWidthScale 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;.

int32_t Aspose::Cells::Drawing::Shape::GetWidthScale()

Examples

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

See Also