MathGroupingCharacter
内容
[
隐藏
]MathGroupingCharacter class
指定在一个表达式的上方或下方的分组符号,通常用于突出元素之间的关系
public sealed class MathGroupingCharacter : MathElementBase, IMathGroupingCharacter
构造函数
| 名称 | 描述 |
|---|---|
| MathGroupingCharacter(IMathElement) | 使用默认分组字符 U+23DF (底部大括号) 初始化 MathGroupingCharacter 类的新实例 |
| MathGroupingCharacter(IMathElement, char, MathTopBotPositions, MathTopBotPositions) | 初始化 MathGroupingCharacter 类的新实例。 |
属性
| 名称 | 描述 |
|---|---|
| Base { get; } | 基础参数 |
| Character { get; set; } | 分组字符 默认值: U+23DF (底部大括号) |
| Position { get; set; } | 分组字符的位置。 默认值: 底部 |
| VerticalJustification { get; set; } | 分组字符的垂直对齐方式。 指定对象相对于基线的对齐方式。例如,当分组字符位于对象上方时,VerticalJustification 为 Top 表示对象的顶部落在基线上;当 VerticalJustification 设置为 Bottom 时,对象的底部位于基线上 默认值: 对于 Position=Top 为底部,Position=Bottom 为顶部 |
方法
| 名称 | 描述 |
|---|---|
| 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#]
MathGroupingCharacter groupingCharacter = new MathGroupingCharacter(new MathematicalText("abc"));
另请参见
- class MathElementBase
- interface IMathGroupingCharacter
- namespace Aspose.Slides.MathText
- assembly Aspose.Slides