ActiveReports 9
CreatePrimaryStream Method (FileStreamProvider)

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 the primary working stream.
Syntax
'Declaration
 
Public Overrides Function CreatePrimaryStream( _
   ByVal mimeType As System.String, _
   ByVal fileExtension As System.String _
) As StreamInfo
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

Exceptions
ExceptionDescription
System.InvalidOperationExceptionThrown if the primary stream has already been created.
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

Reference

FileStreamProvider Class
FileStreamProvider Members

 

 


Copyright © 2014 GrapeCity, inc. All rights reserved

Support Forum