Table of Contents

Class FileOpenSource

Namespace
Aspose.Imaging.Sources
Assembly
Aspose.Imaging.dll

Represents a file source for opening.

public sealed class FileOpenSource : FileSource
Inheritance
FileOpenSource
Inherited Members

Constructors

FileOpenSource(string)

Initializes a new instance of the FileOpenSource class.

public FileOpenSource(string filePath)

Parameters

filePath string

The file path to open.

Properties

FilePath

Gets the file path to open.

public string FilePath { get; }

Property Value

string

The file path to open.

IsTemporal

Gets a value indicating whether file will be temporal.

public override bool IsTemporal { get; }

Property Value

bool

true if file will be temporal; otherwise, false.

Methods

GetStreamContainer()

Gets the stream container.

public override StreamContainer GetStreamContainer()

Returns

StreamContainer

the stream container.

Remarks

Use with caution. You will need to dispose the stream container after retrieval.