Table of Contents

Class FileCreateSource

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

Represents a file source for creation.

public sealed class FileCreateSource : FileSource
Inheritance
FileCreateSource
Inherited Members

Constructors

FileCreateSource(string)

Initializes a new instance of the FileCreateSource class.

public FileCreateSource(string filePath)

Parameters

filePath string

The file path to create.

FileCreateSource(string, bool)

Initializes a new instance of the FileCreateSource class.

public FileCreateSource(string filePath, bool isTemporal)

Parameters

filePath string

The file path to create.

isTemporal bool

If set to true the created file will be temporal.

Properties

FilePath

Gets the file path to create.

public string FilePath { get; }

Property Value

string

The file path to create.

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.