Partager via


Strike Class

Strike Through.When the object is serialized out as xml, its qualified name is x:strike.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Spreadsheet.BooleanPropertyType
        DocumentFormat.OpenXml.Spreadsheet.Strike

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

Syntax

'Declaration
Public Class Strike _
    Inherits BooleanPropertyType
'Usage
Dim instance As Strike
public class Strike : BooleanPropertyType

Remarks

[ISO/IEC 29500-1 1st Edition]

18.4.10 strike (Strike Through)

This element draws a strikethrough line through the horizontal middle of the text.

Parent Elements

font (§18.8.22); rPr (§18.4.7)

Attributes

Description

val (Value)

A boolean value for the property specified by the parent XML element.

If omitted, the default value is true.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

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

Reference

Strike Members

DocumentFormat.OpenXml.Spreadsheet Namespace