IMathElementDivide Method (IMathElement)

Creates a fraction with this numerator and specified denominator

Namespace:  Aspose.Slides.MathText
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 20.11.0.0 (20.11)
Syntax
IMathFraction Divide(
	IMathElement denominator
)

Parameters

denominator
Type: Aspose.Slides.MathTextIMathElement
Denominator

Return Value

Type: IMathFraction
new fraction
Examples
Example:
[C#]
IMathElement numerator = new MathematicalText("x");
IMathElement denumerator = new MathematicalText("y");
IMathFraction fraction = numerator.Divide(denumerator);
See Also