Function()
Contents
[
Hide
]MathElementBase::Function(System::SharedPtr<IMathElement>) method
Takes a function of an argument using this instance as the function name
System::SharedPtr<IMathFunction> Aspose::Slides::MathText::MathElementBase::Function(System::SharedPtr<IMathElement> functionArgument) override
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);
MathElementBase::Function(System::String) method
Takes a function of an argument using this instance as the function name
System::SharedPtr<IMathFunction> Aspose::Slides::MathText::MathElementBase::Function(System::String functionArgument) override
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 MathElementBase
- Class String
- Namespace Aspose::Slides::MathText
- Library Aspose.Slides