MathematicalTextFactory
Contents
[
Hide
]Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.slides.IMathematicalTextFactory
public class MathematicalTextFactory implements IMathematicalTextFactory
Allows to create a MathematicalText element
For COM comparibility
Constructors
| Constructor | Description |
|---|---|
| MathematicalTextFactory() |
Methods
| Method | Description |
|---|---|
| createMathematicalText() | Create empty mathematical text element |
| createMathematicalText(char mathSymbol) | Create mathematical text element with the specified value |
| createMathematicalText(String mathText) | Create empty mathematical text element with the specified value |
| createMathematicalText(String mathText, IPortionFormat portionFormat) | Create empty mathematical text element with the specified value and formatting properties |
MathematicalTextFactory()
public MathematicalTextFactory()
createMathematicalText()
public final IMathematicalText createMathematicalText()
Create empty mathematical text element
Returns: IMathematicalText - new Mathematical Text
createMathematicalText(char mathSymbol)
public final IMathematicalText createMathematicalText(char mathSymbol)
Create mathematical text element with the specified value
Parameters:
| Parameter | Type | Description |
|---|---|---|
| mathSymbol | char | single symbol to use as text value |
Returns: IMathematicalText - new Mathematical Text
createMathematicalText(String mathText)
public final IMathematicalText createMathematicalText(String mathText)
Create empty mathematical text element with the specified value
Parameters:
| Parameter | Type | Description |
|---|---|---|
| mathText | java.lang.String | text value |
Returns: IMathematicalText - new Mathematical Text
createMathematicalText(String mathText, IPortionFormat portionFormat)
public final IMathematicalText createMathematicalText(String mathText, IPortionFormat portionFormat)
Create empty mathematical text element with the specified value and formatting properties
Parameters:
| Parameter | Type | Description |
|---|---|---|
| mathText | java.lang.String | text value |
| portionFormat | IPortionFormat | text format settings |
Returns: IMathematicalText - new Mathematical Text