Aspose::Cells::Drawing::Shape::SetPlacement method

Shape::SetPlacement method

Represents the way the drawing object is attached to the cells below it. The property controls the placement of an object on a worksheet.

void Aspose::Cells::Drawing::Shape::SetPlacement(PlacementType value)

Examples

if (shape.GetPlacement() == PlacementType::Move)
    shape.SetPlacement(PlacementType::MoveAndSize);

See Also