[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Rendering.IO.FileStreamProvider.CreateSecondaryStream

CreateSecondaryStream Method

CreateSecondaryStream(string, string, string)

Creates a secondary stream in the stream provider.

Declaration
public override StreamInfo CreateSecondaryStream(string relativeName, string mimeType, string fileExtension)
Parameters
Type Name Description
string relativeName

a string value in the name for the secondary stream. The relative name is appended to the file name prefix

string mimeType

a string value indicating the mime type for the primary stream.

string fileExtension

a string value indicating the file extension to use for the primary stream.

Returns
Type Description
StreamInfo

a StreamInfo for the secondary stream.

Overrides
Exceptions
Type Condition
InvalidOperationException

Thrown if the file extension is not specified.