MathFunction Class

Function Apply Function.When the object is serialized out as xml, its qualified name is m:func.

Inheritance Hierarchy

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

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(FunctionName))> _
<ChildElementInfoAttribute(GetType(Base))> _
<ChildElementInfoAttribute(GetType(FunctionProperties))> _
Public Class MathFunction _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As MathFunction
[ChildElementInfoAttribute(typeof(FunctionName))]
[ChildElementInfoAttribute(typeof(Base))]
[ChildElementInfoAttribute(typeof(FunctionProperties))]
public class MathFunction : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • FunctionProperties <m:funcPr>

  • FunctionName <m:fName>

  • Base <m:e>

[ISO/IEC 29500-1 1st Edition]

22.1.2.39 func (Function Apply Object)

This element specifies the Function-Apply object, which consists of a function name and an argument element (e) acted upon. It is often applied using a form of linear format. For example, in the linear format described in Unicode Technical Article #28, this object is applied by using the Function Application character (U+2061). [Example: Examples of Function-Apply objects include: , , and .

As an example, the func has fName and e :

<m:func>
<m:fName>
<m:limLow>
<m:e>
<m:r>
<m:rPr>
<m:scr m:val="roman"/>
<m:sty  m:val="p"/>
</m:rPr>
<m:t>lim</m:t>
</m:r>
</m:e>
      <m:lim>
<m:r>
<m:t>n&#8594;&#8734;</m:t>
</m:r>
</m:lim>
</m:limLow>
</m:fName>
  <m:e>
<m:sSub>
<m:e>
<m:r>
<m:t>x</m:t>
</m:r>
</m:e>
      <m:sub>
<m:r>
<m:t>n</m:t>
</m:r>
</m:sub>
</m:sSub>
</m:e>
</m:func>

end example]

Parent Elements

deg (§22.1.2.26); del (§17.13.5.14); den (§22.1.2.28); e (§22.1.2.32); fName (§22.1.2.37); ins (§17.13.5.18); lim (§22.1.2.52); moveFrom (§17.13.5.22); moveTo (§17.13.5.25); num (§22.1.2.75); oMath (§22.1.2.77); sub (§22.1.2.112); sup (§22.1.2.114)

Child Elements

Subclause

e (Element (Argument))

§22.1.2.32

fName (Function Name)

§22.1.2.37

funcPr (Function Properties)

§22.1.2.40

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

MathFunction Members

DocumentFormat.OpenXml.Math Namespace