MathSubscriptElement

MathSubscriptElement class

指定下标对象,由基底和处于下方和右侧的缩小版下标组成。

public sealed class MathSubscriptElement : BaseScript, IMathSubscriptElement

Constructors

NameDescription
MathSubscriptElement(IMathElement, IMathElement)初始化 MathSubscriptElement 类的新实例。

Properties

NameDescription
Base { get; }基底参数
Subscript { get; }下标

Methods

NameDescription
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()在此元素的底部设置一条横线

Examples

Example:

[C#]
MathSubscriptElement subscriptElement = new MathematicalText("N").SetSubscript("i");

See Also