MathRendererPluginResult
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.tex.plugins.IOperationResult
public final class MathRendererPluginResult implements IOperationResult
The MathRenderer plugin’s common result.
Methods
Method | Description |
---|---|
getLog() | Returns the stream containing the transcript file. |
getSize() | Return the size of the rendered formula. |
isFile() | Indicates whether the result is a file path. |
isStream() | Indicates whether the result is a stream. |
isString() | Indicates whether the result is a string. |
isByteArray() | Indicates whether the result is a byte array. |
getData() | Gets raw data. |
toFile() | Tries to convert the result to a file. |
toStream() | Tries to convert the result to a stream. |
getLog()
public OutputStream getLog()
Returns the stream containing the transcript file.
Returns: java.io.OutputStream - The stream containing the transcript file.
getSize()
public Size2D getSize()
Return the size of the rendered formula.
Returns: Size2D - The size of the rendered formula.
isFile()
public boolean isFile()
Indicates whether the result is a file path.
Returns: boolean - True if the result is a file path; otherwise false .
isStream()
public boolean isStream()
Indicates whether the result is a stream.
Returns: boolean - True if the result is a stream; otherwise false .
isString()
public boolean isString()
Indicates whether the result is a string.
Returns: boolean - True if the result is a string; otherwise false .
isByteArray()
public boolean isByteArray()
Indicates whether the result is a byte array.
Returns: boolean - True if the result is a byte array; otherwise false .
getData()
public Object getData()
Gets raw data.
Returns: java.lang.Object - An object containing output data.
toFile()
public String toFile()
Tries to convert the result to a file.
Returns: java.lang.String - A string the file path if the result is file; otherwise null .
toStream()
public OutputStream toStream()
Tries to convert the result to a stream.
Returns: java.io.OutputStream - A stream if the result is stream; otherwise null .