Divide
Contents
[
Hide
]Divide(IMathElement)
Creates a fraction with this numerator and specified denominator
public IMathFraction Divide(IMathElement denominator)
Parameter | Type | Description |
---|---|---|
denominator | IMathElement | Denominator |
Return Value
new fraction
Examples
Example:
[C#]
IMathElement numerator = new MathematicalText("x");
IMathElement denumerator = new MathematicalText("y");
IMathFraction fraction = numerator.Divide(denumerator);
See Also
- interface IMathFraction
- interface IMathElement
- class MathElementBase
- namespace Aspose.Slides.MathText
- assembly Aspose.Slides
Divide(string)
Creates a fraction with this numerator and specified denominator
public IMathFraction Divide(string denominator)
Parameter | Type | Description |
---|---|---|
denominator | String | Denominator |
Return Value
new fraction
Examples
Example:
[C#]
IMathElement numerator = new MathematicalText("x");
IMathFraction fraction = numerator.Divide("y");
See Also
- interface IMathFraction
- class MathElementBase
- namespace Aspose.Slides.MathText
- assembly Aspose.Slides
Divide(IMathElement, MathFractionTypes)
Creates a fraction of the specified type with this numerator and specified denominator
public IMathFraction Divide(IMathElement denominator, MathFractionTypes fractionType)
Parameter | Type | Description |
---|---|---|
denominator | IMathElement | Denominator |
fractionType | MathFractionTypes | Fraction type: Bar, NoBar, Skewed, Linear |
Return Value
new fraction
Examples
Example:
[C#]
IMathElement numerator = new MathematicalText("x");
IMathElement denumerator = new MathematicalText("y");
IMathFraction fraction = numerator.Divide(denumerator, MathFractionTypes.Linear);
See Also
- interface IMathFraction
- interface IMathElement
- enum MathFractionTypes
- class MathElementBase
- namespace Aspose.Slides.MathText
- assembly Aspose.Slides
Divide(string, MathFractionTypes)
Creates a fraction of the specified type with this numerator and specified denominator
public IMathFraction Divide(string denominator, MathFractionTypes fractionType)
Parameter | Type | Description |
---|---|---|
denominator | String | Denominator |
fractionType | MathFractionTypes | Fraction type: Bar, NoBar, Skewed, Linear |
Return Value
new fraction
Examples
Example:
[C#]
IMathElement numerator = new MathematicalText("x");
IMathFraction fraction = numerator.Divide("y", MathFractionTypes.Linear);
See Also
- interface IMathFraction
- enum MathFractionTypes
- class MathElementBase
- namespace Aspose.Slides.MathText
- assembly Aspose.Slides