get_Count()

IMathBlockCollection::get_Count() method

Gets the number of elements actually contained in the collection. Read-only int32_t.

virtual int32_t Aspose::Slides::MathText::IMathBlockCollection::get_Count()=0

Remarks

Example:

auto blockCollection = System::MakeObject<MathParagraph>();
blockCollection->Add(System::MakeObject<MathBlock>(System::MakeObject<MathematicalText>(u"block1")));
blockCollection->Add(System::MakeObject<MathBlock>(System::MakeObject<MathematicalText>(u"block2")));
int32_t blocksCount = blockCollection->get_Count();

See Also