MathFraction()
MathFraction::MathFraction(System::SharedPtr<IMathElement>, System::SharedPtr<IMathElement>, MathFractionTypes) constructor
Initializes MathFraction with the specified numerator, denominator and type
Aspose::Slides::MathText::MathFraction::MathFraction(System::SharedPtr<IMathElement> numerator, System::SharedPtr<IMathElement> denominator, MathFractionTypes fractionType)
Arguments
Parameter | Type | Description |
---|---|---|
numerator | System::SharedPtr<IMathElement> | Numerator |
denominator | System::SharedPtr<IMathElement> | Denominator |
fractionType | MathFractionTypes | Fraction type |
Remarks
Example:
auto mathFraction = System::MakeObject<MathFraction>(System::MakeObject<MathematicalText>(u"x"), System::MakeObject<MathematicalText>(u"y"), Aspose::Slides::MathText::MathFractionTypes::Linear);
MathFraction::MathFraction(System::SharedPtr<IMathElement>, System::SharedPtr<IMathElement>) constructor
Initializes a MathFraction of type ‘Bar’ with the specified numerator and denominator
Aspose::Slides::MathText::MathFraction::MathFraction(System::SharedPtr<IMathElement> numerator, System::SharedPtr<IMathElement> denominator)
Arguments
Parameter | Type | Description |
---|---|---|
numerator | System::SharedPtr<IMathElement> | Numerator |
denominator | System::SharedPtr<IMathElement> | Denominator |
Remarks
Example:
auto mathFraction = System::MakeObject<MathFraction>(System::MakeObject<MathematicalText>(u"x"), System::MakeObject<MathematicalText>(u"y"));
See Also
- Enum MathFractionTypes
- Typedef SharedPtr
- Class IMathElement
- Class MathFraction
- Namespace Aspose::Slides::MathText
- Library Aspose.Slides