ActiveReports 12
CreateSecondaryStream Method (FileStreamProvider)

GrapeCity.ActiveReports.v12 Assembly > GrapeCity.ActiveReports.Rendering.IO Namespace > FileStreamProvider Class : CreateSecondaryStream Method
a string value in the name for the secondary stream. The relative name is appended to the file name prefix
a string value indicating the mime type for the primary stream.
a string value indicating the file extension to use for the primary stream.
Creates a secondary stream in the stream provider.
Syntax
'Declaration
 
Public Overrides Function CreateSecondaryStream( _
   ByVal relativeName As String, _
   ByVal mimeType As String, _
   ByVal fileExtension As String _
) As StreamInfo
public override StreamInfo CreateSecondaryStream( 
   string relativeName,
   string mimeType,
   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

Exceptions
ExceptionDescription
Thrown if the file extension is not specified.
See Also

Reference

FileStreamProvider Class
FileStreamProvider Members