MathBorderBox
内容
[
隐藏
]MathBorderBox 类
在 IMathElement 周围绘制矩形或其他形状的边框。
public sealed class MathBorderBox : MathElementBase, IMathBorderBox
构造函数
| 名称 | 描述 |
|---|---|
| MathBorderBox(IMathElement) | 创建带有矩形边框的 MathBorderBox 元素 |
| MathBorderBox(IMathElement, bool, bool, bool, bool, bool, bool, bool, bool) | 创建 MathBorderBox 元素 |
属性
| 名称 | 描述 |
|---|---|
| Base { get; } | 基础参数 |
| HideBottom { get; set; } | 隐藏底部边缘(默认 false)- 指定边框框底部边缘的隐藏或显示状态。 |
| HideLeft { get; set; } | 隐藏左侧边缘(默认 false)- 指定边框框左侧边缘的隐藏或显示状态。 |
| HideRight { get; set; } | 隐藏右侧边缘(默认 false)- 指定边框框右侧边缘的隐藏或显示状态。 |
| HideTop { get; set; } | 隐藏顶部边缘(默认 false)- 指定边框框顶部边缘的隐藏或显示状态。 |
| StrikethroughBottomLeftToTopRight { get; set; } | 从左下到右上划线(默认 false)。指定从左下角到右上角的对角划线的隐藏或显示状态。 |
| StrikethroughHorizontal { get; set; } | 水平划线(默认 false)- 指定水平划线的隐藏或显示状态。 |
| StrikethroughTopLeftToBottomRight { get; set; } | 从左上到右下划线(默认 false)。指定从左上角到右下角的对角划线的隐藏或显示状态。 |
| StrikethroughVertical { get; set; } | 垂直划线(默认 false)- 指定垂直划线的隐藏或显示状态。 |
方法
| 名称 | 描述 |
|---|---|
| Accent(char) | 设置重音符号(元素上方的字符) |
| AsArgumentOfFunction(IMathElement) | 使用此实例作为参数调用指定函数 |
| AsArgumentOfFunction(MathFunctionsOfOneArgument) | 使用此实例作为参数调用指定函数 |
| AsArgumentOfFunction(string) | 使用此实例作为参数调用指定函数 |
| AsArgumentOfFunction(MathFunctionsOfTwoArguments, IMathElement) | 使用此实例作为参数并使用指定的附加参数调用指定函数 |
| AsArgumentOfFunction(MathFunctionsOfTwoArguments, string) | 使用此实例作为参数并使用指定的附加参数调用指定函数 |
| Divide(IMathElement) | 使用此分子和指定的分母创建分数 |
| Divide(string) | 使用此分子和指定的分母创建分数 |
| Divide(IMathElement, MathFractionTypes) | 使用此分子和指定的分母创建指定类型的分数 |
| Divide(string, MathFractionTypes) | 使用此分子和指定的分母创建指定类型的分数 |
| Enclose() | 用括号将数学元素括起来 |
| virtual Enclose(char, char) | 用指定字符(如括号或其他字符)将数学元素框住 |
| Function(IMathElement) | 使用此实例作为函数名调用单参数函数 |
| Function(string) | 使用此实例作为函数名调用单参数函数 |
| GetChildren() | 获取子元素 |
| Group() | 使用底部花括号将此元素放入组中 |
| Group(char, MathTopBotPositions, MathTopBotPositions) | 使用分组字符(如底部花括号或其他)将此元素放入组中 |
| Integral(MathIntegralTypes) | 取无上下限的积分 |
| Integral(MathIntegralTypes, IMathElement, IMathElement) | 取积分 |
| Integral(MathIntegralTypes, string, string) | 取积分 |
| Integral(MathIntegralTypes, IMathElement, IMathElement, MathLimitLocations) | 取积分 |
| Integral(MathIntegralTypes, string, string, MathLimitLocations) | 取积分 |
| virtual Join(IMathElement) | 将数学元素连接并形成数学块 |
| virtual Join(string) | 将数学文本连接并形成数学块 |
| Nary(MathNaryOperatorTypes, IMathElement, IMathElement) | 创建 N 元运算符 |
| Nary(MathNaryOperatorTypes, string, string) | 创建 N 元运算符 |
| Overbar() | 在此元素上方设置横线 |
| Radical(IMathElement) | 指定给定次数的数学根,使用指定参数 |
| Radical(string) | 指定给定次数的数学根,使用指定参数 |
| SetLowerLimit(IMathElement) | 取下限 |
| SetLowerLimit(string) | 取下限 |
| SetSubscript(IMathElement) | 创建下标 |
| SetSubscript(string) | 创建下标 |
| SetSubSuperscriptOnTheLeft(IMathElement, IMathElement) | 在左侧创建下标和上标 |
| SetSubSuperscriptOnTheLeft(string, string) | 在左侧创建下标和上标 |
| SetSubSuperscriptOnTheRight(IMathElement, IMathElement) | 在右侧创建下标和上标 |
| SetSubSuperscriptOnTheRight(string, string) | 在右侧创建下标和上标 |
| SetSuperscript(IMathElement) | 创建上标 |
| SetSuperscript(string) | 创建上标 |
| SetUpperLimit(IMathElement) | 取上限 |
| SetUpperLimit(string) | 取上限 |
| ToBorderBox() | 将此元素放入边框盒中 |
| ToBorderBox(bool, bool, bool, bool, bool, bool, bool, bool) | 将此元素放入边框盒中 |
| ToBox() | 将此元素放入非可视盒(逻辑分组),用于对方程或其他数学文本实例的组件进行分组。盒对象可以(例如)作为带或不带对齐点的运算符仿真器,作为换行点,或被分组以防止其内部换行。 |
| virtual ToMathArray() | 放入垂直阵列 |
| Underbar() | 在此元素底部设置横线 |
示例
示例:
[C#]
MathBorderBox borderBox = new MathBorderBox(new MathematicalText("x"));