Table of Contents

Class FileStreamContainer

Namespace
Aspose.CAD
Assembly
Aspose.CAD.dll

Helper for file stream processing.

public sealed class FileStreamContainer : StreamContainer, IDisposable
Inheritance
FileStreamContainer
Implements
Inherited Members

Properties

FilePath

Gets the file path.

IsCreated

Gets a value indicating whether stream was created explicitly.

IsTemporal

Gets or sets a value indicating whether stream is temporal.

Methods

AfterStreamDisposed()

Called after the stream is disposed.

BeforeSave(Stream)

Called before save occurs on the destination stream.

CreateFileStream(string, bool)

Creates a new file stream.

OpenFileStream(string)

Opens an existing file stream. If file stream does not exist the appropriate exception is thrown.

Operators

explicit operator FileStream(FileStreamContainer)

Performs an explicit conversion from FileStreamContainer to FileStream.

explicit operator Stream(FileStreamContainer)

Performs an explicit conversion from FileStreamContainer to Stream.