IMathBar

All Implemented Interfaces: com.aspose.slides.IMathElement

public interface IMathBar extends IMathElement

Specifies the bar function, consisting of a base argument and an overbar or underbar


Example:
 
 IMathBar mathBar = new MathBar(new MathematicalText("x"));

Methods

MethodDescription
getBase()Base argument
getPosition()Position of the bar line.
setPosition(int value)Position of the bar line.

getBase()

public abstract IMathElement getBase()

Base argument


Example:
 
 IMathBar mathBar = new MathBar(new MathematicalText("x"));
 IMathElement base = mathBar.getBase();

Returns: IMathElement

getPosition()

public abstract int getPosition()

Position of the bar line. Default: Top


Example:
 
 IMathBar mathBar = new MathBar(new MathematicalText("x"));
 mathBar.setPosition(MathTopBotPositions.Bottom);

Returns: int

setPosition(int value)

public abstract void setPosition(int value)

Position of the bar line. Default: Top


Example:
 
 IMathBar mathBar = new MathBar(new MathematicalText("x"));
 mathBar.setPosition(MathTopBotPositions.Bottom);

Parameters:

ParameterTypeDescription
valueint