Error getting tags :
error 404Error getting tags :
error 404 formattedRect | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
formattedRect
Basics
Expander triangle
Type
Property
Syntax

get the formattedRect of {card | group}

get the formattedRect of chunk of field

Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Reports the rectangle that surrounds all the objects in a card or group.
Examples

put the formattedRect of group "Nav Buttons" into rectToSelect

Additional Comments
Expander triangle

Use the formattedRect property to find the boundary of a group or chunk, or to determine the screen location of a chunk of text.

Value:

The formattedRect of a group or card consists of four integers, separated by commas.

This property is read-only and cannot be set.

Comments:

If you specify a card or group, the formattedRect reports the smallest rectangle that encloses all the object in that group or card. (Objects whose visible property is false are ignored.) The four items in the rectangle are:

1: horizontal distance from the left edge of the stack to the left edge of the rectangle

2: vertical distance from the top edge of the stack to the top edge of the rectangle

3: horizontal distance from the left edge of the stack to the right edge of the rectangle

4: vertical distance from the top edge of the stack to the bottom edge of the rectangle

The formattedRect of a chunk in a field is the smallest rectangle that encloses the entire chunk.

User Comments
Expander triangle