FileCreateSource Class

Summary: Represents a file source for creation.

Module: aspose.psd.sources

Full Name: aspose.psd.sources.FileCreateSource

Inheritance: FileSource

Aspose.PSD Version: 24.9.0

Constructors

NameDescription
FileCreateSource(file_path)Initializes a new instance of the FileCreateSource class.
FileCreateSource(file_path, is_temporal)Initializes a new instance of the FileCreateSource class.

Properties

NameTypeAccessDescription
file_pathstringrGets the file path to create.
is_temporalboolrGets a value indicating whether file will be temporal.

Methods

NameDescription
get_stream_container()Gets the stream container.

Constructor: FileCreateSource(file_path)

 FileCreateSource(file_path) 

Initializes a new instance of the FileCreateSource class.

Parameters:

ParameterTypeDescription
file_pathstringThe file path to create.

Constructor: FileCreateSource(file_path, is_temporal)

 FileCreateSource(file_path, is_temporal) 

Initializes a new instance of the FileCreateSource class.

Parameters:

ParameterTypeDescription
file_pathstringThe file path to create.
is_temporalboolIf set to true the created file will be temporal.

Method: get_stream_container()

 get_stream_container() 

Gets the stream container.

Returns

TypeDescription
StreamContainerthe stream container.