FormFieldSize Class

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

Inheritance Hierarchy


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


Public Class FormFieldSize _
    Inherits HpsMeasureType
Dim instance As FormFieldSize
public class FormFieldSize : HpsMeasureType


[ISO/IEC 29500-1 1st Edition]

17.16.24 size (Checkbox Form Field Size)

This element specifies the exact size for the parent checkbox form field. The resulting field shall be displayed in this point size regardless of the size specified by the formatting of its corresponding content in the document via the style hierarchy.

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

<w:size w:val="20" />
    <w:checked w:val="true" />

The size element specifies that the checkbox must be displayed in a ten point font size, regardless of the formatting which would normally be applied to this text via the style hierarchy. end example]

Parent Elements

checkBox (§17.16.7)



val (Half Point Measurement)

Specifies a positive measurement specified in half-points (1/144 of an inch).

The contents of this attribute value are interpreted based on the context of the parent XML element.

[Example: Consider the following WordprocessingML fragment:

<… w:val="30" />

The value in the val attribute is 30, which is equivalent to 15 points (30 half-points).

This value is interpreted in the context of the parent element. end example]

The possible values for this attribute are defined by the ST_HpsMeasure simple type (§17.18.42).

[Note: The W3C XML Schema definition of this element’s content model (CT_HpsMeasure) is located in §A.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.

See Also


FormFieldSize Members

DocumentFormat.OpenXml.Wordprocessing Namespace