Aspose::Cells::Drawing::Shape::SetAnchorType method

Shape::SetAnchorType method

Gets and set the type of the shape anchor placeholder.

void Aspose::Cells::Drawing::Shape::SetAnchorType(ShapeAnchorType value)

Examples

if (shape.GetAnchorType() == ShapeAnchorType::OneCellAnchor)
    shape.SetAnchorType(ShapeAnchorType::TwoCellAnchor);

See Also