MathBorderBox()

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

Creates MathBorderBox element with rectangular border

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

Arguments

ParameterTypeDescription
elementSystem::SharedPtr<IMathElement>The base element to which the border box is applied. Can be null.

Remarks

Example:

auto borderBox = System::MakeObject<MathBorderBox>(System::MakeObject<MathematicalText>(u"x"));

MathBorderBox::MathBorderBox(System::SharedPtr<IMathElement>, bool, bool, bool, bool, bool, bool, bool, bool) constructor

Creates MathBorderBox element

Aspose::Slides::MathText::MathBorderBox::MathBorderBox(System::SharedPtr<IMathElement> element, bool hideTop, bool hideBottom, bool hideLeft, bool hideRight, bool strikethroughHorizontal, bool strikethroughVertical, bool strikethroughBottomLeftToTopRight, bool strikethroughTopLeftToBottomRight)

Arguments

ParameterTypeDescription
elementSystem::SharedPtr<IMathElement>The base element to which the border box is applied
hideTopboolHide Top Edge
hideBottomboolHide Bottom Edge
hideLeftboolHide Left Edge
hideRightboolHide Right Edge
strikethroughHorizontalboolStrikethrough Horizontal
strikethroughVerticalboolStrikethrough Vertical
strikethroughBottomLeftToTopRightboolStrikethrough Bottom-Left to Top-Right
strikethroughTopLeftToBottomRightboolStrikethrough Top-Left to Bottom-Right

Remarks

Example:

auto borderBox = System::MakeObject<MathBorderBox>(System::MakeObject<MathematicalText>(u"x"), true, true, true, false, true, true, true, true);

See Also