MathRightSubSuperscriptElement
内容
[
隐藏
]MathRightSubSuperscriptElement class
指定下上标对象,其由一个基数和一个放置在基数右侧的下标和上标组成。
public sealed class MathRightSubSuperscriptElement : BaseScript, IMathRightSubSuperscriptElement
构造函数
名称 | 描述 |
---|---|
MathRightSubSuperscriptElement(IMathElement, IMathElement, IMathElement) | 初始化 MathRightSubSuperscriptElement 类的新实例。 |
属性
名称 | 描述 |
---|---|
AlignScripts { get; set; } | 指定下标/上标的对齐方式。当为 true 时,下标和上标水平对齐;当为 false 时,它们与基数的形状排列。默认值为 false。 |
Base { get; } | 基数参数 |
Subscript { get; } | 下标参数 |
Superscript { get; } | 上标参数 |
方法
名称 | 描述 |
---|---|
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#]
MathRightSubSuperscriptElement subsuperscript = new MathematicalText("N").SetSubSuperscriptOnTheRight("i", "j");