MathBar

MathBar(IMathElement)

Initializes MathBar with overbar (Top position)

public MathBar(IMathElement element)
ParameterTypeDescription
elementIMathElementThe base element to which the bar is applied

Examples

Example:

[C#]
MathBar mathBar = new MathBar(new MathematicalText("x"));

See Also


MathBar(IMathElement, MathTopBotPositions)

Initializes MathBar with specified position

public MathBar(IMathElement element, MathTopBotPositions position)
ParameterTypeDescription
elementIMathElementThe base element to which the bar is applied
positionMathTopBotPositionsPosition of the bar line.

Examples

Example:

[C#]
MathBar mathBar = new MathBar(new MathematicalText("x"), MathTopBotPositions.Bottom);

See Also