MathAccent()
MathAccent::MathAccent(System::SharedPtr<IMathElement>) constructor
Creates a math accent applying to a specified math element with the default accent character value
Aspose::Slides::MathText::MathAccent::MathAccent(System::SharedPtr<IMathElement> element)
Arguments
Parameter | Type | Description |
---|---|---|
element | System::SharedPtr<IMathElement> | a math element to apply accent |
Remarks
Example:
auto baseElement = System::MakeObject<MathematicalText>(u"x");
auto accent = System::MakeObject<MathAccent>(baseElement);
MathAccent::MathAccent(System::SharedPtr<IMathElement>, char16_t) constructor
Creates a math accent applying to a specified math element
Aspose::Slides::MathText::MathAccent::MathAccent(System::SharedPtr<IMathElement> element, char16_t accentCharacter)
Arguments
Parameter | Type | Description |
---|---|---|
element | System::SharedPtr<IMathElement> | math element to apply accent |
accentCharacter | char16_t | accent character |
Remarks
Example:
auto baseElement = System::MakeObject<MathematicalText>(u"x");
auto accent = System::MakeObject<MathAccent>(baseElement, u'~');
See Also
- Typedef SharedPtr
- Class IMathElement
- Class MathAccent
- Namespace Aspose::Slides::MathText
- Library Aspose.Slides