Interface IOperationResult
Interface IOperationResult
Namespace: Aspose.TeX.Plugins
Assembly: Aspose.TeX.dll (25.2.0)
The general operation result interface.
public interface IOperationResult
Properties
Data
Gets raw data.
object Data { get; }
Property Value
IsByteArray
Indicates whether the result is a byte array.
bool IsByteArray { get; }
Property Value
IsFile
Indicates whether the result is a file path.
bool IsFile { get; }
Property Value
IsStream
Indicates whether the result is a stream.
bool IsStream { get; }
Property Value
IsString
Indicates whether the result is a string.
bool IsString { get; }
Property Value
Methods
ToFile()
Tries to convert the result to a file.
string ToFile()
Returns
A string the file path if the result is file; otherwise null
.
ToStream()
Tries to convert the result to a stream.
Stream ToStream()
Returns
A stream if the result is stream; otherwise null
.