MathDelimiter

MathDelimiter constructor

Initializes MathDelimiter with the specified element as single base argument

public MathDelimiter(IMathElement element)
ParameterTypeDescription
elementIMathElementThe base element to which the delimiter is applied. Can be null.

Exceptions

exceptioncondition
InvalidOperationExceptionThrows then element is a container for another elements, such as MathBlock. In this case, you need to call a different constructor with IEnumerable argument.

Examples

Example:

[C#]
IMathElement element = new MathematicalText("x");
MathDelimiter delimiter = new MathDelimiter(element);

See Also