MathBorderBox

MathBorderBox(IMathElement)

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

public MathBorderBox(IMathElement element)
参数类型描述
elementIMathElement应用边框的基础元素。可以为 null。

示例

示例:

[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隐藏右边缘
strikethroughHorizontalBoolean横向删除线
strikethroughVerticalBoolean纵向删除线
strikethroughBottomLeftToTopRightBoolean从左下角到右上角的删除线
strikethroughTopLeftToBottomRightBoolean从左上角到右下角的删除线

示例

示例:

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

另见