MathLimit

MathLimit class

指定Limit对象,由基线上的文本和其上方或下方紧接着的缩小文本组成。

public sealed class MathLimit : MathElementBase, IMathLimit

构造函数

名称描述
MathLimit(IMathElement, IMathElement)使用下限初始化MathLimit类的新实例
MathLimit(IMathElement, IMathElement, bool)初始化MathLimit类的新实例。

属性

名称描述
Base { get; }基础参数
Limit { get; }极限参数
UpperLimit { get; set; }指定上限或下限

方法

名称描述
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#]
MathLimit limitElement = new MathLimit(new MathematicalText("lim"), new MathematicalText("𝑛→∞"));

另请参见