Item

IMathBlockCollection indexer

Gets the item at the specified index. Read-only IMathBlock.

public IMathBlock this[int index] { get; set; }
ParameterDescription
indexThe zero-based index of the item to get

Return Value

The block of a mathematical text.

Examples

Example:

[C#]
IMathBlockCollection blockCollection = new MathParagraph();
blockCollection.Add(new MathBlock(new MathematicalText("block1")));
blockCollection.Add(new MathBlock(new MathematicalText("block2")));
IMathBlock block = blockCollection[1];

See Also