PhantomProperties Class

Phantom Properties.When the object is serialized out as xml, its qualified name is m:phantPr.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Math.PhantomProperties

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(ZeroWidth))> _
<ChildElementInfoAttribute(GetType(ControlProperties))> _
<ChildElementInfoAttribute(GetType(Transparent))> _
<ChildElementInfoAttribute(GetType(ZeroDescent))> _
<ChildElementInfoAttribute(GetType(ZeroAscent))> _
<ChildElementInfoAttribute(GetType(ShowPhantom))> _
Public Class PhantomProperties _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As PhantomProperties
[ChildElementInfoAttribute(typeof(ZeroWidth))]
[ChildElementInfoAttribute(typeof(ControlProperties))]
[ChildElementInfoAttribute(typeof(Transparent))]
[ChildElementInfoAttribute(typeof(ZeroDescent))]
[ChildElementInfoAttribute(typeof(ZeroAscent))]
[ChildElementInfoAttribute(typeof(ShowPhantom))]
public class PhantomProperties : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • ShowPhantom <m:show>

  • ZeroWidth <m:zeroWid>

  • ZeroAscent <m:zeroAsc>

  • ZeroDescent <m:zeroDesc>

  • Transparent <m:transp>

  • ControlProperties <m:ctrlPr>

[ISO/IEC 29500-1 1st Edition]

22.1.2.82 phantPr (Phantom Properties)

This element specifies properties of the Phantom object, including whether the phantom is hidden or visible, and the amount of space that is taken into account when laying out text and objects around phantoms.

Parent Elements

phant (§22.1.2.81)

Child Elements

Subclause

ctrlPr (Control Properties)

§22.1.2.23

show (Phantom Show)

§22.1.2.96

transp (Transparent (Phantom))

§22.1.2.117

zeroAsc (Phantom Zero Ascent)

§22.1.2.122

zeroDesc (Phantom Zero Descent)

§22.1.2.123

zeroWid (Phantom Zero Width)

§22.1.2.124

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

Reference

PhantomProperties Members

DocumentFormat.OpenXml.Math Namespace