<doc>
  <legacy_id>1437</legacy_id>
  <name>formattedRect</name>
  <type>property</type>
  <syntax>
    <example>get the formattedRect of {<i>card </i>| <i>group</i>}</example>
    <example>get the formattedRect of <i>chunk</i> of <i>field</i></example>
  </syntax>
  <library></library>
  <objects>
    <group/>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Appearance &amp; Positioning</category>
  </classification>
  <references>
    <property tag="backSize">backSize Property</property>
    <property tag="formattedLeft">formattedLeft Property</property>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
    <ios/>
    <android/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
    <mobile/>
  </classes>
  <security>
  </security>
  <summary>Reports the rectangle that surrounds all the <glossary tag="object">objects</glossary> in a <keyword tag="card">card</keyword> or <command tag="group">group</command>.</summary>
  <examples>
    <example>put the formattedRect of group "Nav Buttons" into rectToSelect</example>
  </examples>
  <description>
    <p>Use the <b>formattedRect</b> <glossary tag="property">property</glossary> to find the boundary of a <command tag="group">group</command> or <glossary tag="chunk">chunk</glossary>, or to determine the screen location of a <glossary tag="chunk">chunk</glossary> of text.</p><p/><p><b>Value:</b></p><p>The <b>formattedRect</b> of a <command tag="group">group</command> or <keyword tag="card">card</keyword> consists of four integers, separated by commas.</p><p>This property is read-only and cannot be set.</p><p/><p><b>Comments:</b></p><p>If you specify a card or group, the <b>formattedRect</b> reports the smallest rectangle that encloses all the <glossary tag="object">object</glossary> in that <command tag="group">group</command> or <keyword tag="card">card</keyword>. (<glossary tag="object">Objects</glossary> whose <property tag="visible">visible</property> <glossary tag="property">property</glossary> is false are ignored.) The four <keyword tag="items">items</keyword> in the rectangle are:</p><p>        1: horizontal distance from the left edge of the stack to the left edge of the rectangle</p><p>        2: vertical distance from the top edge of the stack to the top edge of the rectangle</p><p>        3: horizontal distance from the left edge of the stack to the right edge of the rectangle</p><p>        4: vertical distance from the top edge of the stack to the bottom edge of the rectangle</p><p/><p>The <b>formattedRect</b> of a <glossary tag="chunk">chunk</glossary> in a <keyword tag="field">field</keyword> is the smallest rectangle that encloses the entire <glossary tag="chunk">chunk</glossary>.</p>
  </description>
</doc>