AutomaticallySizeFormField Class

Automatically Size Form Field.When the object is serialized out as xml, its qualified name is w:sizeAuto.

Inheritance Hierarchy


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


Public Class AutomaticallySizeFormField _
    Inherits OnOffType
Dim instance As AutomaticallySizeFormField
public class AutomaticallySizeFormField : OnOffType


[ISO/IEC 29500-1 1st Edition]

17.16.25 sizeAuto (Automatically Size Form Field)

This element specifies that the parent checkbox form field shall be formatted using the point size which is applied to its field characters via the style hierarchy.

[Example: Consider the following WordprocessingML fragment for the properties of a checkbox form field:

<w:sz w:val="40"/>
<w:fldChar w:fldCharType="begin">
<w:sizeAuto />
        <w:checked w:val="true" />

The sizeAuto element specifies that the checkbox must be displayed in the point size of the formatting which would normally be applied to this text via the style hierarchy. In this case, this size is the twenty points specified via the direct formatting on the parent run. end example]

Parent Elements

checkBox (§17.16.7)

This element’s content model is defined by the common boolean property definition in §17.17.4.

© 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.

See Also


AutomaticallySizeFormField Members

DocumentFormat.OpenXml.Wordprocessing Namespace