MathFraction
Contents
[
Hide
]MathFraction(IMathElement, IMathElement, MathFractionTypes)
Initializes MathFraction with the specified numerator, denominator and type
public MathFraction(IMathElement numerator, IMathElement denominator,
MathFractionTypes fractionType)
Parameter | Type | Description |
---|---|---|
numerator | IMathElement | Numerator |
denominator | IMathElement | Denominator |
fractionType | MathFractionTypes | Fraction type |
Examples
Example:
[C#]
MathFraction mathFraction = new MathFraction(new MathematicalText("x"), new MathematicalText("y"), MathFractionTypes.Linear);
See Also
- interface IMathElement
- enum MathFractionTypes
- class MathFraction
- namespace Aspose.Slides.MathText
- assembly Aspose.Slides
MathFraction(IMathElement, IMathElement)
Initializes a MathFraction of type ‘Bar’ with the specified numerator and denominator
public MathFraction(IMathElement numerator, IMathElement denominator)
Parameter | Type | Description |
---|---|---|
numerator | IMathElement | Numerator |
denominator | IMathElement | Denominator |
Examples
Example:
[C#]
MathFraction mathFraction = new MathFraction(new MathematicalText("x"), new MathematicalText("y"));
See Also
- interface IMathElement
- class MathFraction
- namespace Aspose.Slides.MathText
- assembly Aspose.Slides