MathBorderBox

MathBorderBox(IMathElement)

创建带有矩形边框的 MathBorderBox 元素

public MathBorderBox(IMathElement element)
范围类型描述
elementIMathElement基本元素应用了哪个边框。可以为空。

例子

示例:

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

也可以看看


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

创建 MathBorderBox 元素

public MathBorderBox(IMathElement element, bool hideTop, bool hideBottom, bool hideLeft, 
    bool hideRight, bool strikethroughHorizontal, bool strikethroughVertical, 
    bool strikethroughBottomLeftToTopRight, bool strikethroughTopLeftToBottomRight)
范围类型描述
elementIMathElement边框的基本元素应用框
hideTopBoolean隐藏顶边
hideBottomBoolean隐藏底边
hideLeftBoolean隐藏左边缘
hideRightBoolean隐藏右边缘
水平删除线Boolean水平删除线
strikethroughVerticalBoolean垂直删除线
strikethroughBottomLeftToTopRightBoolean删除线左下角到右上
strikethroughTopLeftToBottomRightBoolean删除线从左上到右下

例子

示例:

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

也可以看看