ActiveReports 18 .NET Edition
MESCIUS.ActiveReports Assembly / GrapeCity.ActiveReports.Rendering.IO.Mht Namespace / MhtStreamProvider Class / CreatePrimaryStream Method
A string value indicating the mime type ('image/png', 'text/html', etc).
A string value with the suggested file extension to appended to the end of the file name.

In This Topic
    CreatePrimaryStream Method (MhtStreamProvider)
    In This Topic
    Creates the primary stream for the stream provider. This is the main working stream.
    Syntax
    'Declaration
     
    Public Overrides NotOverridable Function CreatePrimaryStream( _
       ByVal mimeType As String, _
       ByVal suggestedFileExtension As String _
    ) As StreamInfo
    public override StreamInfo CreatePrimaryStream( 
       string mimeType,
       string suggestedFileExtension
    )

    Parameters

    mimeType
    A string value indicating the mime type ('image/png', 'text/html', etc).
    suggestedFileExtension
    A string value with the suggested file extension to appended to the end of the file name.

    Return Value

    See Also