IMathElementAsArgumentOfFunction Method (MathFunctionsOfOneArgument)

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(
	MathFunctionsOfOneArgument functionType
)

Parameters

functionType
Type: Aspose.Slides.MathTextMathFunctionsOfOneArgument
One of the common function type of one argument

Return Value

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