Add

MathBlock.Add method

Adds a math element to the end of the collection.

public void Add(IMathElement item)
ParameterTypeDescription
itemIMathElementThe IMathElement to be added to the end of the collection.

Examples

Example:

[C#]
MathBlock mathBlock = new MathBlock(new MathematicalText("x"));
mathBlock.Add(new MathematicalText("+"));
mathBlock.Add(new MathRadical(new MathematicalText("x"), new MathematicalText("3")));

See Also