[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Rendering.IO.Mht.MhtStreamProvider.CreatePrimaryStream

CreatePrimaryStream Method

CreatePrimaryStream(string, string)

Creates the primary stream for the stream provider. This is the main working stream.

Declaration
public override StreamInfo CreatePrimaryStream(string mimeType, string suggestedFileExtension)
Parameters
Type Name Description
string mimeType

A string value indicating the mime type ('image/png', 'text/html', etc).

string suggestedFileExtension

A string value with the suggested file extension to appended to the end of the file name.

Returns
Type Description
StreamInfo

A StreamInfo for the created primary stream.

Overrides