MathFraction
MathFraction(IMathElement, IMathElement, MathFractionTypes)
用指定的分子、分母和类型初始化 MathFraction
public MathFraction(IMathElement numerator, IMathElement denominator,
MathFractionTypes fractionType)
范围 | 类型 | 描述 |
---|---|---|
numerator | IMathElement | 分子 |
分母 | IMathElement | 分母 |
fractionType | MathFractionTypes | 分数类型 |
例子
示例:
[C#]
MathFraction mathFraction = new MathFraction(new MathematicalText("x"), new MathematicalText("y"), MathFractionTypes.Linear);
也可以看看
- interface IMathElement
- enum MathFractionTypes
- class MathFraction
- 命名空间 Aspose.Slides.MathText
- 部件 Aspose.Slides
MathFraction(IMathElement, IMathElement)
使用指定的分子和分母初始化“Bar”类型的 MathFraction
public MathFraction(IMathElement numerator, IMathElement denominator)
范围 | 类型 | 描述 |
---|---|---|
numerator | IMathElement | 分子 |
分母 | IMathElement | 分母 |
例子
示例:
[C#]
MathFraction mathFraction = new MathFraction(new MathematicalText("x"), new MathematicalText("y"));
也可以看看
- interface IMathElement
- class MathFraction
- 命名空间 Aspose.Slides.MathText
- 部件 Aspose.Slides