| Name | Type | Description |
|---|---|---|
| OffsetX |
Double
|
Specifies the horizontal distance to offset the cloned shape range. |
| OffsetY |
Double
|
Specifies the vertical distance to offset the cloned shape range. |
Sub Test() Dim sr As New ShapeRange Dim srClone As ShapeRange sr.Add ActiveLayer.CreateRectangle(0, 0, 1, 1) sr.Add ActiveLayer.CreateRectangle(2, 0, 3, 1) sr.ApplyUniformFill CreateRGBColor(255, 0, 0) Set srClone = sr.Clone(0, 2) sr.ApplyUniformFill CreateRGBColor(0, 0, 255) End Sub