IMathematicalText

All Implemented Interfaces: com.aspose.slides.IMathElement

public interface IMathematicalText extends IMathElement

Mathematical text


Example:
 
 IMathematicalText mathText = new MathematicalText("x+y");

Methods

Method Description
getValue() Text value
setValue(String value) Text value
getFormat() Text formatting properties

getValue()

public abstract String getValue()

Text value


Example:
 
 IMathematicalText mathText = new MathematicalText("x+y");
 String textValue = mathText.getValue();

Returns: java.lang.String

setValue(String value)

public abstract void setValue(String value)

Text value


Example:
 
 IMathematicalText mathText = new MathematicalText("x+y");
 String textValue = mathText.getValue();

Parameters:

Parameter Type Description
value java.lang.String

getFormat()

public abstract IPortionFormat getFormat()

Text formatting properties


Example:
 
 IMathematicalText mathText = new MathematicalText("x+y");
 mathText.getFormat().setFontHeight(28);

Returns: IPortionFormat