MathElementBaseDivide Method (IMathElement)

Creates a fraction with this numerator and specified denominator

Namespace:  Aspose.Slides.MathText
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 20.12.0.0 (20.12)
Syntax
public IMathFraction Divide(
	IMathElement denominator
)

Parameters

denominator
Type: Aspose.Slides.MathTextIMathElement
Denominator

Return Value

Type: IMathFraction
new fraction

Implements

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