IMathElementAsArgumentOfFunction Method (String)

Takes specified function using this instance as the argument

Namespace:  Aspose.Slides.MathText
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 20.11.0.0 (20.11)
Syntax
IMathFunction AsArgumentOfFunction(
	string functionName
)

Parameters

functionName
Type: SystemString
Function name

Return Value

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