idx_set()
IMathBlockCollection::idx_set(int32_t, System::SharedPtr<IMathBlock>) method
Gets the item at the specified index. Read-only IMathBlock.
virtual void Aspose::Slides::MathText::IMathBlockCollection::idx_set(int32_t index, System::SharedPtr<IMathBlock> value)=0
Arguments
Parameter | Type | Description |
---|---|---|
index | int32_t | The zero-based index of the item to get |
value | System::SharedPtr<IMathBlock> | The block of a mathematical text. |
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")));
auto block = blockCollection->idx_get(1);
See Also
- Typedef SharedPtr
- Class IMathBlock
- Class IMathBlockCollection
- Namespace Aspose::Slides::MathText
- Library Aspose.Slides