Поделиться через


ZeroDescent Class

Phantom Zero Descent.When the object is serialized out as xml, its qualified name is m:zeroDesc.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Math.OnOffType
        DocumentFormat.OpenXml.Math.ZeroDescent

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

Syntax

'Декларация
Public Class ZeroDescent _
    Inherits OnOffType
'Применение
Dim instance As ZeroDescent
public class ZeroDescent : OnOffType

Remarks

[ISO/IEC 29500-1 редакция 1]

22.1.2.123 zeroDesc (Phantom Zero Descent)

This element specifies that the phantom has zero descent. The descent of the contents of the phantom is not taken into account during layout. When this property is omitted, the phantom does have descent (zero descent is not applied).

When the element is absent, the default value of the property is 0 meaning that this property is not applied.

When the element is present and the val attribute is absent, the default of the val attribute is 1 meaning that this property is applied.

[Example: In the following two examples, only the second has zero descent around the "y". Note that the radical is smaller than in the first case.

<m:phantPr>
<m:zeroDesc  m:val="1"/>
</m:phantPr>

end example]

Parent Elements

phantPr (§22.1.2.82)

Attributes

Description

val (value)

Specifies a binary value for the property defined by the parent XML element.

A value of 1 or true specifies that the property shall be explicitly applied. This is the default value for this attribute, and is implied when the parent element is present.

A value of 0 or false specifies that the property shall be explicitly turned off. This is implied when the parent element is not present.

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

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

See Also

Reference

ZeroDescent Members

DocumentFormat.OpenXml.Math Namespace