ToBorderBox()

MathElementBase::ToBorderBox() method

Places this element in a border-box

System::SharedPtr<IMathBorderBox> Aspose::Slides::MathText::MathElementBase::ToBorderBox() override

Return Value

Border-box with this element placed inside

Remarks

Example:

auto borderBox = System::MakeObject<MathematicalText>(u"x+y+z")->ToBorderBox();

MathElementBase::ToBorderBox(bool, bool, bool, bool, bool, bool, bool, bool) method

Places this element in a border-box

System::SharedPtr<IMathBorderBox> Aspose::Slides::MathText::MathElementBase::ToBorderBox(bool hideTop, bool hideBottom, bool hideLeft, bool hideRight, bool strikethroughHorizontal, bool strikethroughVertical, bool strikethroughBottomLeftToTopRight, bool strikethroughTopLeftToBottomRight) override

Arguments

ParameterTypeDescription
hideTopboolHide Top Edge
hideBottomboolHide Bottom Edge
hideLeftboolHide Left Edge
hideRightboolHide Right Edge
strikethroughHorizontalboolBorder Box Strikethrough Horizontal
strikethroughVerticalboolBorder Box Strikethrough Vertical
strikethroughBottomLeftToTopRightboolBorder Box Strikethrough Bottom-Left to Top-Right
strikethroughTopLeftToBottomRightboolBorder Box Strikethrough Top-Left to Bottom-Right

Return Value

Border-box with this element placed inside

Remarks

Example:

auto borderBox = System::MakeObject<MathematicalText>(u"x+y+z")->ToBorderBox(false, false, true, true, false, false, false, false);

See Also