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

ParameterTypeDescription
elementSystem::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

ParameterTypeDescription
elementSystem::SharedPtr<IMathElement>math element to apply accent
accentCharacterchar16_taccent character

Remarks

Example:

auto baseElement = System::MakeObject<MathematicalText>(u"x");
auto accent = System::MakeObject<MathAccent>(baseElement, u'~');

See Also