NaryProperties Class

n-ary Properties.When the object is serialized out as xml, its qualified name is m:naryPr.

Inheritance Hierarchy

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

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(ControlProperties))> _
<ChildElementInfoAttribute(GetType(AccentChar))> _
<ChildElementInfoAttribute(GetType(LimitLocation))> _
<ChildElementInfoAttribute(GetType(GrowOperators))> _
<ChildElementInfoAttribute(GetType(HideSubArgument))> _
<ChildElementInfoAttribute(GetType(HideSuperArgument))> _
Public Class NaryProperties _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As NaryProperties
[ChildElementInfoAttribute(typeof(ControlProperties))]
[ChildElementInfoAttribute(typeof(AccentChar))]
[ChildElementInfoAttribute(typeof(LimitLocation))]
[ChildElementInfoAttribute(typeof(GrowOperators))]
[ChildElementInfoAttribute(typeof(HideSubArgument))]
[ChildElementInfoAttribute(typeof(HideSuperArgument))]
public class NaryProperties : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • AccentChar <m:chr>

  • LimitLocation <m:limLoc>

  • GrowOperators <m:grow>

  • HideSubArgument <m:subHide>

  • HideSuperArgument <m:supHide>

  • ControlProperties <m:ctrlPr>

[ISO/IEC 29500-1 1st Edition]

22.1.2.72 naryPr (n-ary Properties)

This element specifies the properties of the n-ary object.

These include the n-ary operator character that is used (using the chr element), the shape and height of the operator (using the grow element), the location of limits (using the limLoc element), and whether empty limits display a placeholder character or are hidden (using the subHide and supHide elements). [Example: N-ary operators include: . end example]

[Example:

is represented by the following XML:

<m:nary>
  <m:naryPr>
    <m:chr m:val="∑"/>
    <m:limLoc m:val="subSup"/>
  </m:naryPr>
  <m:sub>
    <m:r>
      <m:t>1</m:t>
    </m:r>
  </m:sub>
  <m:sup>
    <m:r>
      <m:t>20</m:t>
    </m:r>
  </m:sup>
  <m:e>
    <m:r>
      <m:t>x</m:t>
    </m:r>
  </m:e>
</m:nary>

end example]

Parent Elements

nary (§22.1.2.70)

Child Elements

Subclause

chr (Character)

§22.1.2.20

ctrlPr (Control Properties)

§22.1.2.23

grow (n-ary Grow)

§22.1.2.43

limLoc (n-ary Limit Location)

§22.1.2.53

subHide (Hide Subscript (n-ary))

§22.1.2.113

supHide (Hide Superscript (n-ary))

§22.1.2.115

[Note: The W3C XML Schema definition of this element’s content model (CT_NaryPr) 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

NaryProperties Members

DocumentFormat.OpenXml.Math Namespace