<spAutoFit> (Shape AutoFit)

This element specifies that a shape should be auto-fit to fully contain the text described within it. Auto-fitting is when text within a shape is scaled in order to contain all the text inside. If this element is omitted, then <noAutofit> or auto-fit off is implied.

example:
<p:sp>
  <p:txBody>
    <a:bodyPr rtlCol="0" anchor="ctr">
      <a:spAutoFit/>                                                                   
    </a:bodyPr><a:p><a:t>Diagram Object 1</a:t></a:p>
  </p:txBody>
</p:sp>
<p:sp>
  <p:txBody>
    <a:bodyPr rtlCol="0" anchor="ctr">
      <a:spAutoFit/>                                                                   
    </a:bodyPr><a:p><a:t>Diagram Object 2</a:t></a:p>
  </p:txBody>
</p:sp>

In the above example there are two shapes that have <spAutoFit> turned on so that when the user types more text within the shape that the shape will actually resize to accommodate the new data. ]

Parent Elements

<bodyPr>5.1.5.1.1)

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_TextShapeAutofit"/>