Clear()

IMathElementCollection::Clear() method

Removes all elements from the collection.

virtual void Aspose::Slides::MathText::IMathElementCollection::Clear()=0

Remarks

Example:

auto collection = System::MakeObject<MathBlock>(System::MakeObject<MathematicalText>(u"x"));
collection->Clear();

See Also