Export (0) Print
Expand All

NoAutoFit class

No AutoFit. When the object is serialized out as xml, its qualified name is a:noAutofit.

Namespace:  DocumentFormat.OpenXml.Drawing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public class NoAutoFit : OpenXmlLeafElement

[ISO/IEC 29500-1 1st Edition]

noAutofit (No AutoFit)

This element specifies that text within the text body should not be auto-fit to the bounding box. Auto-fitting is when text within a text box is scaled in order to remain inside the text box. If this element is omitted, then noAutofit or auto-fit off is implied.

[Example: Consider a text box where the user wishes to have the text extend outside the bounding box. The following DrawingML would describe this.

<p:txBody>
  <a:bodyPr wrap="none" rtlCol="0">
    <a:noAutofit/>
  </a:bodyPr>
  <a:p>
    …    <a:t>
Some text</a:t>
    …  </a:p>
</p:txBody>

end example]

Parent Elements

bodyPr (§21.1.2.1.1)

[Note: The W3C XML Schema definition of this element’s content model (CT_TextNoAutofit) is located in §A.4.1. end note]

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

Show:
© 2014 Microsoft