API Documentation > CorelDRAW > 2025-v26 > Shape > IVGShape
Shape.OrderBackOf method
Moves the shape behind another shape
Syntax:
Sub OrderBackOf(ByVal Shape As Shape)
Parameters:
Name Type Description
Shape
Remarks:
The OrderBackOf method places a shape behind a specified shape in the stacking order of the same layer.
Examples:
The following VBA example creates a gray rectangle behind the selected shape.
Sub Test()
Dim s As Shape, r As Shape
Dim x As Double, y As Double, sx As Double, sy As Double
If ActiveSelection.Shapes.Count = 1 Then
  Set s = ActiveShape
  s.GetBoundingBox x, y, sx, sy
  Set r = ActiveLayer.CreateRectangle2(x, y, sx, sy)
  r.Fill.UniformColor.RGBAssign 225, 225, 225
  r.OrderBackOf s
End If 
End Sub