ActiveReports 8
CreateSecondaryStream Method
See Also 
GrapeCity.ActiveReports.v8 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.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also