AsArgumentOfFunction
Contenido
[
Ocultar
]AsArgumentOfFunction(IMathElement)
Toma una función especificada utilizando esta instancia como argumento
public IMathFunction AsArgumentOfFunction(IMathElement functionName)
Parámetro | Tipo | Descripción |
---|---|---|
functionName | IMathElement | Nombre de la función |
Valor de retorno
Nuevo elemento matemático de tipo IMathFunction
Ejemplos
Ejemplo:
[C#]
IMathElement functionName = new MathematicalText("sin");
IMathElement functionArg = new MathematicalText("x");
IMathFunction func = functionArg.AsArgumentOfFunction(functionName);
Véase también
- interface IMathFunction
- interface IMathElement
- class MathElementBase
- namespace Aspose.Slides.MathText
- assembly Aspose.Slides
AsArgumentOfFunction(string)
Toma una función especificada utilizando esta instancia como argumento
public IMathFunction AsArgumentOfFunction(string functionName)
Parámetro | Tipo | Descripción |
---|---|---|
functionName | String | Nombre de la función |
Valor de retorno
Nuevo elemento matemático de tipo IMathFunction
Ejemplos
Ejemplo:
[C#]
IMathElement functionArg = new MathematicalText("x");
IMathFunction func = functionArg.AsArgumentOfFunction("cos");
Véase también
- interface IMathFunction
- class MathElementBase
- namespace Aspose.Slides.MathText
- assembly Aspose.Slides
AsArgumentOfFunction(MathFunctionsOfOneArgument)
Toma una función especificada utilizando esta instancia como argumento
public IMathFunction AsArgumentOfFunction(MathFunctionsOfOneArgument functionType)
Parámetro | Tipo | Descripción |
---|---|---|
functionType | MathFunctionsOfOneArgument | Uno de los tipos de función comunes de un argumento |
Valor de retorno
Nuevo elemento matemático de tipo IMathFunction
Ejemplos
Ejemplo:
[C#]
IMathElement functionName = new MathematicalText("sin");
IMathElement functionArg = new MathematicalText("x");
IMathFunction func = functionArg.AsArgumentOfFunction(functionName);
Véase también
- interface IMathFunction
- enum MathFunctionsOfOneArgument
- class MathElementBase
- namespace Aspose.Slides.MathText
- assembly Aspose.Slides
AsArgumentOfFunction(MathFunctionsOfTwoArguments, IMathElement)
Toma una función especificada utilizando esta instancia como argumento y un argumento adicional especificado
public IMathFunction AsArgumentOfFunction(MathFunctionsOfTwoArguments functionType,
IMathElement additionalArgument)
Parámetro | Tipo | Descripción |
---|---|---|
functionType | MathFunctionsOfTwoArguments | Uno de los tipos de función comunes de dos argumentos: Log, Lim, Min, Max |
additionalArgument | IMathElement | Argumento adicional dependiendo del tipo de la función |
Valor de retorno
Nuevo elemento matemático de tipo IMathFunction
Ejemplos
Ejemplo:
[C#]
IMathElement functionArg = new MathematicalText("x");
IMathElement logarithmBase = new MathematicalText("5");
IMathFunction func = functionArg.AsArgumentOfFunction(MathFunctionsOfTwoArguments.Log, logarithmBase); // Devuelve el logaritmo de 'x' en base '5'
Véase también
- interface IMathFunction
- enum MathFunctionsOfTwoArguments
- interface IMathElement
- class MathElementBase
- namespace Aspose.Slides.MathText
- assembly Aspose.Slides
AsArgumentOfFunction(MathFunctionsOfTwoArguments, string)
Toma una función especificada utilizando esta instancia como argumento y un argumento adicional especificado
public IMathFunction AsArgumentOfFunction(MathFunctionsOfTwoArguments functionType,
string additionalArgument)
Parámetro | Tipo | Descripción |
---|---|---|
functionType | MathFunctionsOfTwoArguments | Uno de los tipos de función comunes de dos argumentos: Log, Lim, Min, Max |
additionalArgument | String | Argumento adicional dependiendo del tipo de la función |
Valor de retorno
Nuevo elemento matemático de tipo IMathFunction
Ejemplos
Ejemplo:
[C#]
IMathElement functionArg = new MathematicalText("x");
IMathFunction func = functionArg.AsArgumentOfFunction(MathFunctionsOfTwoArguments.Log, "5"); // Devuelve el logaritmo de 'x' en base '5'
Véase también
- interface IMathFunction
- enum MathFunctionsOfTwoArguments
- class MathElementBase
- namespace Aspose.Slides.MathText
- assembly Aspose.Slides