[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Rendering.IO.FileStreamProvider

FileStreamProvider Class

Stream provider for rendering report extension outputs to a file.

Inheritance
FileStreamProvider
Namespace: GrapeCity.ActiveReports.Rendering.IO
Assembly: MESCIUS.ActiveReports.dll
Syntax
public class FileStreamProvider : StreamProvider

Constructors

Name Description
FileStreamProvider(DirectoryInfo, string)

Initializes a new instance of the FileStreamProvider class.

Properties

Name Description
BaseOutputDirectory

Gets the base output directory for the stream provider.

OutputFileNamePrefix

Gets the file name prefix for the stream provider.

OverwriteOutputFile

Specifies that the FileStreamProvider should overwrite a file if exists; otherwise, a new file with unique name should be created.

Methods

Name Description
CleanUpOnError()

Performs the required clean up in case of a rendering error.

CreatePrimaryStream(string, string)

Creates the primary working stream.

CreateSecondaryStream(string, string, string)

Creates a secondary stream in the stream provider.

GetPrimaryStream()

Gets the primary stream.

GetSecondaryStreams()

Gets the array of secondary streams

GetUniqueFile(string, string, string)

Ensures a unquie fille name

Extension Methods