NoAutoFit Class
No AutoFit.When the object is serialized out as xml, its qualified name is a:noAutofit.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Drawing.NoAutoFit
Namespace: DocumentFormat.OpenXml.Drawing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Class NoAutoFit _
Inherits OpenXmlLeafElement
'Usage
Dim instance As NoAutoFit
public class NoAutoFit : OpenXmlLeafElement
Remarks
[ISO/IEC 29500-1 1st Edition]
21.1.2.1.2 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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.