MathematicalText()

MathematicalText::MathematicalText() constructor

Default constructor (create String::Empty Value)

Aspose::Slides::MathText::MathematicalText::MathematicalText()

Remarks

Example:

auto mathText = System::MakeObject<MathematicalText>();

MathematicalText::MathematicalText(char16_t) constructor

Create MathText with single symbol

Aspose::Slides::MathText::MathematicalText::MathematicalText(char16_t mathSymbol)

Arguments

ParameterTypeDescription
mathSymbolchar16_tsingle symbol

Remarks

Example:

auto mathText = System::MakeObject<MathematicalText>(u'$');

MathematicalText::MathematicalText(System::String) constructor

Create MathematicalText from text

Aspose::Slides::MathText::MathematicalText::MathematicalText(System::String mathText)

Arguments

ParameterTypeDescription
mathTextSystem::Stringtext value

Remarks

Example:

auto mathText = System::MakeObject<MathematicalText>(u"x+y");

MathematicalText::MathematicalText(System::String, System::SharedPtr<IPortionFormat>) constructor

Create MathematicalText from text and format settings

Aspose::Slides::MathText::MathematicalText::MathematicalText(System::String mathText, System::SharedPtr<IPortionFormat> portionFormat)

Arguments

ParameterTypeDescription
mathTextSystem::Stringtext value
portionFormatSystem::SharedPtr<IPortionFormat>text format settings

Remarks

Example:

auto format = [&]{ auto tmp_0 = System::MakeObject<PortionFormat>(); tmp_0->set_FontHeight(12); return tmp_0; }();
auto mathText = System::MakeObject<MathematicalText>(u"x+y", format);

See Also