Aspose::Cells::Drawing::Shape::GetWidthInShape method

Shape::GetWidthInShape method

Represents the width of the shape, in unit of 1/4000 of the parent shape.

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

Remarks

Only Applies when this shape in the group or chart.

Examples

if (shape.IsInGroup() && shape.GetWidthInShape() == 2000)
    shape.SetWidthInShape(4000);

See Also