MathBlock

MathBlock()

Initializes a new instance of the MathBlock class.

public MathBlock()

Examples

Example:

[C#]
MathBlock mathBlock = new MathBlock();

See Also


MathBlock(IMathElement)

Creates a new mathematical block and puts specified element in it

public MathBlock(IMathElement mathElement)
ParameterTypeDescription
mathElementIMathElementThe mathematical element to put in the block

Examples

Example:

[C#]
MathBlock mathBlock = new MathBlock(new MathematicalText("x"));

See Also


MathBlock(IEnumerable<IMathElement>)

Creates a new mathematical block and puts specified elements in it

public MathBlock(IEnumerable<IMathElement> mathElements)
ParameterTypeDescription
mathElementsIEnumerable`1Mathematical elements to put in the block

Examples

Example:

[C#]
var elems = new IMathElement[2] { new MathematicalText("item1"), new MathematicalText("item2") };
MathBlock mathBlock = new MathBlock(elems);

See Also