MathBorderBox

MathBorderBox class

在 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"));

另请参阅