MathematicalText()
Contents
[
Hide
]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
Parameter | Type | Description |
---|---|---|
mathSymbol | char16_t | single 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
Parameter | Type | Description |
---|---|---|
mathText | System::String | text 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
Parameter | Type | Description |
---|---|---|
mathText | System::String | text value |
portionFormat | System::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
- Typedef SharedPtr
- Class MathematicalText
- Class String
- Class IPortionFormat
- Namespace Aspose::Slides::MathText
- Library Aspose.Slides