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

relativeName
a string value in the name for the secondary stream. The relative name is appended to the file name prefix
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 a secondary stream in the stream provider.

Syntax

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

Parameters

relativeName
a string value in the name for the secondary stream. The relative name is appended to the file name prefix
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 secondary stream.

Exceptions

ExceptionDescription
System.InvalidOperationExceptionThrown if the file extension is not specified.

See Also