MathArray
内容
[
隐藏
]MathArray class
指定一个方程或任何数学对象的垂直数组
public sealed class MathArray : MathElementBase, IMathArray
构造函数
名称 | 描述 |
---|---|
MathArray(IEnumerable<IMathElement>) | 创建一个数学数组并将指定元素放置其中 |
MathArray(IMathElement) | 创建一个数学数组并将指定元素放置其中 |
属性
名称 | 描述 |
---|---|
Arguments { get; } | 数组的项集合 |
BaseJustification { get; set; } | 指定数组相对于周围文本的对齐方式。数组外的文本可以与数组对象的底部、顶部或中心对齐。默认值:中心 |
MaximumDistribution { get; set; } | 最大分布。当为真时,数组被间隔到包含元素的最大宽度(页面、列、单元等)。 |
ObjectDistribution { get; set; } | 对象分布。当为真时,数组的内容间隔到数组对象的最大宽度。 |
RowSpacing { get; set; } | 数组行之间的间距,仅在 RowSpacingRule 设置为 3 Exactly 时使用,在这种情况下,测量单位为点或 Multiple,在这种情况下,测量单位为半行。默认值:0 |
RowSpacingRule { get; set; } | 数组元素之间的垂直间距类型。默认值:SingleLineGap |
方法
名称 | 描述 |
---|---|
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-ary 操作符 |
Nary(MathNaryOperatorTypes, string, string) | 创建一个 N-ary 操作符 |
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#]
MathArray mathArray = new MathArray(new MathematicalText("item1"));
另见
- class MathElementBase
- interface IMathArray
- namespace Aspose.Slides.MathText
- assembly Aspose.Slides