Interface IOperationResult
Interface IOperationResult
Namespace: Aspose.Pdf.Plugins
Assembly: Aspose.PDF.dll (25.8.0)
General operation result interface that defines common methods that concrete plugin operation result should implement.
public interface IOperationResultProperties
Data
Gets raw data.
object Data { get; }Property Value
IsFile
Indicates whether the result is a path to an output file.
bool IsFile { get; }Property Value
IsStream
Indicates whether the result is an output stream.
bool IsStream { get; }Property Value
IsString
Indicates whether the result is a text string.
bool IsString { get; }Property Value
Methods
ToFile()
Tries to convert the result to the file.
string ToFile()Returns
A string representing the path to the output file if the result is file; otherwise null.
ToStream()
Tries to convert the result to the stream object.
Stream ToStream()Returns
A stream object representing the output data if the result is stream; otherwise null.