calcenclosingrectangle
FORMULA
,
RECTANGLE

The calcenclosingrectangle statement will calculate the rectangle surrounding all of the specified objects.


Parameters

This statement has two parameters:

formula – formula for use in selecting objects, or "ALL" if all objects should be selected.

rectangle – field or variable – the calculated rectangle will be placed in this variable.


Description

This statement will calculate the rectangle surrounding all of the specified objects. This example will calculate the rectangle around all objects in the current form that contain text.

local enclosingRect
calcenclosingrectangle objectinfo("font")<>"",enclosingRect

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.