MathElementBaseAsArgumentOfFunction Method (String)

Takes specified function using this instance as the argument

Namespace:  Aspose.Slides.MathText
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 20.12.0.0 (20.12)
Syntax
public IMathFunction AsArgumentOfFunction(
	string functionName
)

Parameters

functionName
Type: SystemString
Function name

Return Value

Type: IMathFunction
New math element of type IMathFunction

Implements

IMathElementAsArgumentOfFunction(String)
Examples
Example:
[C#]
IMathElement functionArg = new MathematicalText("x");
IMathFunction func = functionArg.AsArgumentOfFunction("cos");
See Also