FormFieldSize Class
Checkbox Form Field Size.When the object is serialized out as xml, its qualified name is w:size.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Wordprocessing.HpsMeasureType
DocumentFormat.OpenXml.Wordprocessing.FormFieldSize
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Декларация
Public Class FormFieldSize _
Inherits HpsMeasureType
'Применение
Dim instance As FormFieldSize
public class FormFieldSize : HpsMeasureType
Remarks
[ISO/IEC 29500-1 редакция 1]
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:ffData>
<w:checkBox>
<w:size w:val="20" />
<w:checked w:val="true" />
</w:checkBox>
</w:ffData>
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) |
Attributes |
Description |
---|---|
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:
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. Приведенный выше текст переведен с английского языка на русский корпорацией Майкрософт (или ее подрядчиками) и ISO не несет ответственности за эти переводы.
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.