IMathElementFunction Method (IMathElement)

Takes a function of an argument using this instance as the function name

Namespace:  Aspose.Slides.MathText
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 20.11.0.0 (20.11)
Syntax
IMathFunction Function(
	IMathElement functionArgument
)

Parameters

functionArgument
Type: Aspose.Slides.MathTextIMathElement
An argument of the function

Return Value

Type: IMathFunction
New math element of type IMathFunction
Examples
Example:
[C#]
IMathElement functionName = new MathematicalText("sin");
IMathElement functionArg = new MathematicalText("x");
IMathFunction func = functionName.Function(functionArg);
See Also