IMathematicalText

All Implemented Interfaces: com.aspose.slides.IMathElement

public interface IMathematicalText extends IMathElement

Mathematical text


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

Methods

MethodDescription
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:

ParameterTypeDescription
valuejava.lang.String

getFormat()

public abstract IPortionFormat getFormat()

Text formatting properties


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

Returns: IPortionFormat