MathBar()

MathBar::MathBar(System::SharedPtr<IMathElement>) constructor

Initializes MathBar with overbar (Top position)

Aspose::Slides::MathText::MathBar::MathBar(System::SharedPtr<IMathElement> element)

Arguments

ParameterTypeDescription
elementSystem::SharedPtr<IMathElement>The base element to which the bar is applied

Remarks

Example:

auto mathBar = System::MakeObject<MathBar>(System::MakeObject<MathematicalText>(u"x"));

MathBar::MathBar(System::SharedPtr<IMathElement>, MathTopBotPositions) constructor

Initializes MathBar with specified position

Aspose::Slides::MathText::MathBar::MathBar(System::SharedPtr<IMathElement> element, MathTopBotPositions position)

Arguments

ParameterTypeDescription
elementSystem::SharedPtr<IMathElement>The base element to which the bar is applied
positionMathTopBotPositionsPosition of the bar line.

Remarks

Example:

auto mathBar = System::MakeObject<MathBar>(System::MakeObject<MathematicalText>(u"x"), Aspose::Slides::MathText::MathTopBotPositions::Bottom);

See Also