ActiveField Technology Objects Overview Hierarchy Chart How to Start: Application Object How to work with Problems How to work with Model How to work with Data How to Analyze Results

Dimensions Property

Summary

Returns the minimal rectangle surrounding the specified geometric object(s).

Syntax

Object.Dimensions As Rectangle

Remarks

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.