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

object

IsByteArray

Indicates whether the result is a byte array.

bool IsByteArray { get; }

Property Value

bool

IsFile

Indicates whether the result is a file path.

bool IsFile { get; }

Property Value

bool

IsStream

Indicates whether the result is a stream.

bool IsStream { get; }

Property Value

bool

IsString

Indicates whether the result is a string.

bool IsString { get; }

Property Value

bool

Methods

ToFile()

Tries to convert the result to a file.

string ToFile()

Returns

string

A string the file path if the result is file; otherwise null.

ToStream()

Tries to convert the result to a stream.

Stream ToStream()

Returns

Stream

A stream if the result is stream; otherwise null.

 English