ToBorderBox()

IMathElement::ToBorderBox() method

Places this element in a border-box

virtual System::SharedPtr<IMathBorderBox> Aspose::Slides::MathText::IMathElement::ToBorderBox()=0

Return Value

Border-box with this element placed inside

Remarks

Example:

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

IMathElement::ToBorderBox(bool, bool, bool, bool, bool, bool, bool, bool) method

Places this element in a border-box

virtual System::SharedPtr<IMathBorderBox> Aspose::Slides::MathText::IMathElement::ToBorderBox(bool hideTop, bool hideBottom, bool hideLeft, bool hideRight, bool strikethroughHorizontal, bool strikethroughVertical, bool strikethroughBottomLeftToTopRight, bool strikethroughTopLeftToBottomRight)=0

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