| Name | Type | Description |
|---|---|---|
| CenterX |
Double
|
|
| CenterY |
Double
|
|
| Width |
Double
|
Specifies the horizontal measurement, in document units. |
| Height |
Double
|
Specifies the vertical measurement, in document units. |
Sub Test() Dim x As Double, y As Double Dim sr As ShapeRange Set sr = ActiveLayer.Shapes.All If sr.Count > 0 Then ActiveDocument.ReferencePoint = cdrCenter sr.GetPosition x, y sr.SetSizeEx x, y, 2 End If End Sub