ActiveReports Developer 7
CreatePrimaryStream Method
See Also 
GrapeCity.ActiveReports.v7 Assembly > GrapeCity.ActiveReports.Rendering.IO Namespace > FileStreamProvider Class : CreatePrimaryStream Method

mimeType
a string value indicating the mime type for the primary stream.
fileExtension
a string value indicating the file extension to use for the primary stream.

Glossary Item Box

Creates the primary working stream.

Syntax

Visual Basic (Declaration) 
Public Overrides Function CreatePrimaryStream( _
   ByVal mimeType As System.String, _
   ByVal fileExtension As System.String _
) As StreamInfo
C# 
public override StreamInfo CreatePrimaryStream( 
   System.string mimeType,
   System.string fileExtension
)

Parameters

mimeType
a string value indicating the mime type for the primary stream.
fileExtension
a string value indicating the file extension to use for the primary stream.

Return Value

a GrapeCity.ActiveReports.Extensibility.Rendering.IO.StreamInfo for the primary stream.

Exceptions

ExceptionDescription
System.InvalidOperationExceptionThrown if the primary stream has already been created.
System.InvalidOperationExceptionThrown if the file extension is not specified.

See Also