MathDelimiter
内容
[
隐藏
]MathDelimiter 类
指定分隔符对象,由起始和结束字符(例如圆括号、花括号、方括号和竖线)以及一个或多个数学元素组成,元素之间使用指定字符分隔。示例: (𝑥2); [𝑥2|𝑦2]
public sealed class MathDelimiter : MathElementBase, IMathDelimiter
构造函数
| 名称 | 描述 |
|---|---|
| MathDelimiter(IMathElement) | 使用指定元素作为单一基参数初始化 MathDelimiter |
属性
| 名称 | 描述 |
|---|---|
| Arguments { get; } | 一个或多个通过分隔符字符分隔的数学元素 |
| BeginningCharacter { get; set; } | Delimiter Beginning Character 指定起始(或左)分隔符字符。数学分隔符是圆括号、方括号和花括号等包围字符。默认值: ‘(’。 |
| DelimiterShape { get; set; } | 指定分隔符对象中分隔符的形状。当为 MathDelimiterShape.Centered 时,分隔符在数学轴上居中,并仍然可以适配其内容的整体高度。当为 MathDelimiterShape.Match 时,其高度和形状会被调整为正好匹配内容。 |
| EndingCharacter { get; set; } | Delimiter Ending Character 指定结束(或右)分隔符字符。数学分隔符是圆括号、方括号和花括号等包围字符。默认值: ‘)’。 |
| GrowToMatchOperandHeight { get; set; } | 指定 BeginningCharacter、SeparatorCharacter、EndingCharacter 的增长行为。当为 true 时,分隔符会垂直增长以匹配其操作数的高度。默认值为 true。 |
| SeparatorCharacter { get; set; } | Delimiter Separator Character 指定分隔符对象中分隔参数的字符。默认值: ‘|’。 |
方法
| 名称 | 描述 |
|---|---|
| Accent(char) | 为此元素设置重音标记(位于元素顶部的字符) |
| AsArgumentOfFunction(IMathElement) | 使用此实例作为参数调用指定函数 |
| AsArgumentOfFunction(MathFunctionsOfOneArgument) | 使用此实例作为参数调用指定函数 |
| AsArgumentOfFunction(string) | 使用此实例作为参数调用指定函数 |
| AsArgumentOfFunction(MathFunctionsOfTwoArguments, IMathElement) | 使用此实例作为参数并使用指定的附加参数调用指定函数 |
| AsArgumentOfFunction(MathFunctionsOfTwoArguments, string) | 使用此实例作为参数并使用指定的附加参数调用指定函数 |
| Delimit(char) | 使用指定的分隔符字符分隔参数 |
| Divide(IMathElement) | 使用此分子和指定的分母创建分数 |
| Divide(string) | 使用此分子和指定的分母创建分数 |
| Divide(IMathElement, MathFractionTypes) | 使用此分子和指定的分母创建指定类型的分数 |
| Divide(string, MathFractionTypes) | 使用此分子和指定的分母创建指定类型的分数 |
| Enclose() | 用括号将数学元素包围 |
| override 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#]
IMathElement element = new MathematicalText("x");
MathDelimiter delimiter = new MathDelimiter(element);
另请参阅
- class MathElementBase
- interface IMathDelimiter
- namespace Aspose.Slides.MathText
- assembly Aspose.Slides