MathElementBaseAsArgumentOfFunction Method (MathFunctionsOfTwoArguments, String) |
Takes specified function using this instance as the argument and specified additional argument
Namespace:
Aspose.Slides.MathText
Assembly:
Aspose.Slides (in Aspose.Slides.dll) Version: 20.12.0.0 (20.12)
Syntaxpublic IMathFunction AsArgumentOfFunction(
MathFunctionsOfTwoArguments functionType,
string additionalArgument
)
Public Function AsArgumentOfFunction (
functionType As MathFunctionsOfTwoArguments,
additionalArgument As String
) As IMathFunction
public:
virtual IMathFunction^ AsArgumentOfFunction(
MathFunctionsOfTwoArguments functionType,
String^ additionalArgument
) sealed
abstract AsArgumentOfFunction :
functionType : MathFunctionsOfTwoArguments *
additionalArgument : string -> IMathFunction
override AsArgumentOfFunction :
functionType : MathFunctionsOfTwoArguments *
additionalArgument : string -> IMathFunction
Parameters
- functionType
- Type: Aspose.Slides.MathTextMathFunctionsOfTwoArguments
One of the common function type of two arguments: Log, Lim, Min, Max - additionalArgument
- Type: SystemString
Additional argument depending on the type of function
Return Value
Type:
IMathFunctionNew math element of type
IMathFunctionImplements
IMathElementAsArgumentOfFunction(MathFunctionsOfTwoArguments, String)
ExamplesExample:
[C#]
IMathElement functionArg = new MathematicalText("x");
IMathFunction func = functionArg.AsArgumentOfFunction(MathFunctionsOfTwoArguments.Log, "5");
See Also