Function()
Contents
[
Hide
]IMathElement::Function(System::SharedPtr<IMathElement>) method
Takes a function of an argument using this instance as the function name
virtual System::SharedPtr<IMathFunction> Aspose::Slides::MathText::IMathElement::Function(System::SharedPtr<IMathElement> functionArgument)=0
Arguments
Parameter | Type | Description |
---|---|---|
functionArgument | System::SharedPtr<IMathElement> | An argument of the function |
Return Value
New math element of type IMathFunction
Remarks
Example:
auto functionName = System::MakeObject<MathematicalText>(u"sin");
auto functionArg = System::MakeObject<MathematicalText>(u"x");
auto func = functionName->Function(functionArg);
IMathElement::Function(System::String) method
Takes a function of an argument using this instance as the function name
virtual System::SharedPtr<IMathFunction> Aspose::Slides::MathText::IMathElement::Function(System::String functionArgument)=0
Arguments
Parameter | Type | Description |
---|---|---|
functionArgument | System::String | An argument of the function |
Return Value
New math element of type IMathFunction
Remarks
Example:
auto functionName = System::MakeObject<MathematicalText>(u"sin");
auto func = functionName->Function(u"x");
See Also
- Typedef SharedPtr
- Class IMathFunction
- Class IMathElement
- Class String
- Namespace Aspose::Slides::MathText
- Library Aspose.Slides