set_Differential()

IMathBox::set_Differential(bool) method

Differential. When true, the box acts as a differential (e.g., \uD835\uDC51\uD835\uDC65 in an integrand), and receives the appropriate horizontal spacing for the mathematical differential. Default: false

virtual void Aspose::Slides::MathText::IMathBox::set_Differential(bool value)=0

Remarks

Example:

auto differential = System::MakeObject<MathematicalText>(u"dx")->ToBox();
differential->set_Differential(true);
auto baseArg = System::MakeObject<MathematicalText>(u"x")->Join(differential);
auto integral = baseArg->Integral(Aspose::Slides::MathText::MathIntegralTypes::Simple, u"0", u"1");

See Also