ActiveReports 19 .NET Edition
MESCIUS.ActiveReports Assembly / GrapeCity.ActiveReports.Rendering.IO Namespace / FileStreamProvider Class / CreatePrimaryStream Method
a string value indicating the mime type for the primary stream.
a string value indicating the file extension to use for the primary stream.

CreatePrimaryStream Method (FileStreamProvider)
Creates the primary working stream.
Syntax
'Declaration
 
Public Overrides Function CreatePrimaryStream( _
   ByVal mimeType As String, _
   ByVal fileExtension As String _
) As StreamInfo
 

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

Exceptions
ExceptionDescription
Thrown if the primary stream has already been created.
Thrown if the file extension is not specified.
See Also