Freigeben über


CheckedState-Klasse

Defines the CheckedState Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is w14:checkedState.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Office2010.Word.CheckBoxSymbolType
        DocumentFormat.OpenXml.Office2010.Word.CheckedState

Namespace:  DocumentFormat.OpenXml.Office2010.Word
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
Public Class CheckedState _
    Inherits CheckBoxSymbolType
'Usage
Dim instance As CheckedState
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class CheckedState : CheckBoxSymbolType

Hinweise

2.5.35 CT_SdtCheckboxSymbol

Target namespace: https://schemas.microsoft.com/office/word/2009/2/wordml

Referenced by: CT_SdtCheckbox

CT_SdtCheckboxSymbol specifies a symbol to be used for a checkbox state.

Attributes:

font : An optional ST_String attribute (as specified in [ISO/IEC-29500-1] §22.9.2.13) that specifies the font that will be used to format this symbol. By default, the font is "MS Gothic"

val : An optional ST_ShortHexNumber (as specified in [ISO/IEC-29500-1] §17.18.79) attribute that specifies the hexadecimal code for the Unicode character value of the symbol. By default, the value is 0x2612 for checked states and 0x2610 for unchecked states.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.

<xsd:complexType name="CT_SdtCheckboxSymbol">

<xsd:attribute name="font" type="w:ST_String"/>

<xsd:attribute name="val" type="w:ST_ShortHexNumber"/>

</xsd:complexType>

See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

CheckedState-Member

DocumentFormat.OpenXml.Office2010.Word-Namespace