Class MathFunction
Represents a function-apply element — a function name followed by
its argument, e.g. sin(x), cos(x).
Maps to the OMML m:func element.
Implements
Inherited Members
Namespace: DRIT.Presentation.Drawing.Mathematics
Assembly: DRIT.Presentation.dll
Syntax
public sealed class MathFunction : MathElementBase, IMathElement
Constructors
MathFunction(IMathElement, IMathElement)
Initializes a new instance of the math function class.
Declaration
public MathFunction(IMathElement name, IMathElement baseElement)
Parameters
| Type | Name | Description |
|---|---|---|
| IMathElement | name | The name assigned to the object. |
| IMathElement | baseElement | The base element used to construct this element. |
Properties
Base
Gets the argument (base) element to which the function is applied.
Declaration
public IMathElement Base { get; }
Property Value
| Type | Description |
|---|---|
| IMathElement |
Name
Gets the function name element (e.g. "sin", "cos", "log").
Declaration
public IMathElement Name { get; }
Property Value
| Type | Description |
|---|---|
| IMathElement |