MathBorderBox
内容
[
隐藏
]MathBorderBox(IMathElement)
创建具有矩形边框的 MathBorderBox 元素
public MathBorderBox(IMathElement element)
| 参数 | 类型 | 描述 |
|---|---|---|
| element | IMathElement | 应用边框的基础元素。可以为 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)
| 参数 | 类型 | 描述 |
|---|---|---|
| element | IMathElement | 应用边框的基础元素 |
| hideTop | Boolean | 隐藏上边缘 |
| hideBottom | Boolean | 隐藏下边缘 |
| hideLeft | Boolean | 隐藏左边缘 |
| hideRight | Boolean | 隐藏右边缘 |
| strikethroughHorizontal | Boolean | 横向删除线 |
| strikethroughVertical | Boolean | 纵向删除线 |
| strikethroughBottomLeftToTopRight | Boolean | 从左下角到右上角的删除线 |
| strikethroughTopLeftToBottomRight | Boolean | 从左上角到右下角的删除线 |
示例
示例:
[C#]
MathBorderBox borderBox = new MathBorderBox(new MathematicalText("x"), true, true, true, false, true, true, true, true)