Applies to |
Returns the minimal rectangle surrounding the specified geometric object(s).
Object.Dimensions As Rectangle
The Dimensions property returns the rectangle of minimal size, surrounding the object. This property may be applied to the Shapes object, object of ShapeRange type, or to the object of type Shape.
The sizing rectangle of the whole geometry model will be received in the first case. In the second case the rectangle, surrounding all the shapes comprising the collection will be received, and size of the separate geometric shape – in the third.
The Dimensions property is for reading only. It returns an object of the Rectangle type. Methods and properties of the Rectangle object allow keeping the rectangle and performing various calculations with single or several rectangles.