Returns the minimal rectangle surrounding the specified geometric object(s).
Object.Dimensions As Rectangle
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.