idx_get()

IMathElementCollection::idx_get(int32_t) method

Gets the element at the specified index. Read-only IMathElement.

virtual System::SharedPtr<IMathElement> Aspose::Slides::MathText::IMathElementCollection::idx_get(int32_t index)=0

Arguments

ParameterTypeDescription
indexint32_tThe zero-based index of the item to get

Remarks

Example:

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

See Also