MathBorderBox

MathBorderBox(IMathElement)

Creates MathBorderBox element with rectangular border

public MathBorderBox(IMathElement element)
ParameterTypeDescription
elementIMathElementThe base element to which the border box is applied. Can be null.

Examples

Example:

[C#]
MathBorderBox borderBox = new MathBorderBox(new MathematicalText("x"));

See Also


MathBorderBox(IMathElement, bool, bool, bool, bool, bool, bool, bool, bool)

Creates MathBorderBox element

public MathBorderBox(IMathElement element, bool hideTop, bool hideBottom, bool hideLeft, 
    bool hideRight, bool strikethroughHorizontal, bool strikethroughVertical, 
    bool strikethroughBottomLeftToTopRight, bool strikethroughTopLeftToBottomRight)
ParameterTypeDescription
elementIMathElementThe base element to which the border box is applied
hideTopBooleanHide Top Edge
hideBottomBooleanHide Bottom Edge
hideLeftBooleanHide Left Edge
hideRightBooleanHide Right Edge
strikethroughHorizontalBooleanStrikethrough Horizontal
strikethroughVerticalBooleanStrikethrough Vertical
strikethroughBottomLeftToTopRightBooleanStrikethrough Bottom-Left to Top-Right
strikethroughTopLeftToBottomRightBooleanStrikethrough Top-Left to Bottom-Right

Examples

Example:

[C#]
MathBorderBox borderBox = new MathBorderBox(new MathematicalText("x"), true, true, true, false, true, true, true, true)

See Also