AsArgumentOfFunction
Contenu
[
Cacher
]AsArgumentOfFunction(IMathElement)
Prend la fonction spécifiée en utilisant cette instance comme argument
public IMathFunction AsArgumentOfFunction(IMathElement functionName)
Paramètre | Type | Description |
---|---|---|
functionName | IMathElement | Nom de la fonction |
Valeur de retour
Nouvel élément mathématique de type IMathFunction
Exemples
Exemple:
[C#]
IMathElement functionName = new MathematicalText("sin");
IMathElement functionArg = new MathematicalText("x");
IMathFunction func = functionArg.AsArgumentOfFunction(functionName);
Voir aussi
- interface IMathFunction
- interface IMathElement
- class MathElementBase
- namespace Aspose.Slides.MathText
- assembly Aspose.Slides
AsArgumentOfFunction(string)
Prend la fonction spécifiée en utilisant cette instance comme argument
public IMathFunction AsArgumentOfFunction(string functionName)
Paramètre | Type | Description |
---|---|---|
functionName | String | Nom de la fonction |
Valeur de retour
Nouvel élément mathématique de type IMathFunction
Exemples
Exemple:
[C#]
IMathElement functionArg = new MathematicalText("x");
IMathFunction func = functionArg.AsArgumentOfFunction("cos");
Voir aussi
- interface IMathFunction
- class MathElementBase
- namespace Aspose.Slides.MathText
- assembly Aspose.Slides
AsArgumentOfFunction(MathFunctionsOfOneArgument)
Prend la fonction spécifiée en utilisant cette instance comme argument
public IMathFunction AsArgumentOfFunction(MathFunctionsOfOneArgument functionType)
Paramètre | Type | Description |
---|---|---|
functionType | MathFunctionsOfOneArgument | L’un des types de fonctions courantes d’un argument |
Valeur de retour
Nouvel élément mathématique de type IMathFunction
Exemples
Exemple:
[C#]
IMathElement functionName = new MathematicalText("sin");
IMathElement functionArg = new MathematicalText("x");
IMathFunction func = functionArg.AsArgumentOfFunction(functionName);
Voir aussi
- interface IMathFunction
- enum MathFunctionsOfOneArgument
- class MathElementBase
- namespace Aspose.Slides.MathText
- assembly Aspose.Slides
AsArgumentOfFunction(MathFunctionsOfTwoArguments, IMathElement)
Prend la fonction spécifiée en utilisant cette instance comme argument et l’argument supplémentaire spécifié
public IMathFunction AsArgumentOfFunction(MathFunctionsOfTwoArguments functionType,
IMathElement additionalArgument)
Paramètre | Type | Description |
---|---|---|
functionType | MathFunctionsOfTwoArguments | L’un des types de fonctions courantes de deux arguments : Log, Lim, Min, Max |
additionalArgument | IMathElement | Argument supplémentaire selon le type de fonction |
Valeur de retour
Nouvel élément mathématique de type IMathFunction
Exemples
Exemple:
[C#]
IMathElement functionArg = new MathematicalText("x");
IMathElement logarithmBase = new MathematicalText("5");
IMathFunction func = functionArg.AsArgumentOfFunction(MathFunctionsOfTwoArguments.Log, logarithmBase); // Retourne le logarithme de 'x' à la base '5'
Voir aussi
- interface IMathFunction
- enum MathFunctionsOfTwoArguments
- interface IMathElement
- class MathElementBase
- namespace Aspose.Slides.MathText
- assembly Aspose.Slides
AsArgumentOfFunction(MathFunctionsOfTwoArguments, string)
Prend la fonction spécifiée en utilisant cette instance comme argument et l’argument supplémentaire spécifié
public IMathFunction AsArgumentOfFunction(MathFunctionsOfTwoArguments functionType,
string additionalArgument)
Paramètre | Type | Description |
---|---|---|
functionType | MathFunctionsOfTwoArguments | L’un des types de fonctions courantes de deux arguments : Log, Lim, Min, Max |
additionalArgument | String | Argument supplémentaire selon le type de fonction |
Valeur de retour
Nouvel élément mathématique de type IMathFunction
Exemples
Exemple:
[C#]
IMathElement functionArg = new MathematicalText("x");
IMathFunction func = functionArg.AsArgumentOfFunction(MathFunctionsOfTwoArguments.Log, "5"); // Retourne le logarithme de 'x' à la base '5'
Voir aussi
- interface IMathFunction
- enum MathFunctionsOfTwoArguments
- class MathElementBase
- namespace Aspose.Slides.MathText
- assembly Aspose.Slides