[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Rendering.IO.FileStreamProvider.CreatePrimaryStream

CreatePrimaryStream Method

CreatePrimaryStream(string, string)

Creates the primary working stream.

Declaration
public override StreamInfo CreatePrimaryStream(string mimeType, string fileExtension)
Parameters
Type Name Description
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 primary stream.

Overrides
Exceptions
Type Condition
InvalidOperationException

Thrown if the primary stream has already been created.

InvalidOperationException

Thrown if the file extension is not specified.