Radical()

MathElementBase::Radical(System::SharedPtr<IMathElement>) method

Specifies the mathematical root of the given degree from the specified argument.

System::SharedPtr<IMathRadical> Aspose::Slides::MathText::MathElementBase::Radical(System::SharedPtr<IMathElement> degree) override

Arguments

ParameterTypeDescription
degreeSystem::SharedPtr<IMathElement>Argument of Radical

Return Value

New instance of type IMathRadical

Remarks

Example:

auto baseElement = System::MakeObject<MathematicalText>(u"2px");
auto degree = System::MakeObject<MathematicalText>(u"y");
auto radical = baseElement->Radical(degree);

MathElementBase::Radical(System::String) method

Specifies the mathematical root of the given degree from the specified argument.

System::SharedPtr<IMathRadical> Aspose::Slides::MathText::MathElementBase::Radical(System::String degree) override

Arguments

ParameterTypeDescription
degreeSystem::StringArgument of Radical

Return Value

New instance of type IMathRadical

Remarks

Example:

auto baseElement = System::MakeObject<MathematicalText>(u"2px");
auto radical = baseElement->Radical(u"3");

See Also