ActiveReports 18 .NET Edition
MESCIUS.ActiveReports Assembly / GrapeCity.ActiveReports.Rendering.IO.Mht Namespace / MhtStreamProvider Class / CreateSecondaryStream Method
A string value indicating the name to give the secondary stream. The outputFileNamePrefix will be added to the beginning of this name.
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
    CreateSecondaryStream Method (MhtStreamProvider)
    In This Topic
    Creates a secondary stream to add to the stream provider's secondary stream array.
    Syntax
    'Declaration
     
    Public Overrides NotOverridable Function CreateSecondaryStream( _
       ByVal relativeName As String, _
       ByVal mimeType As String, _
       ByVal suggestedFileExtension As String _
    ) As StreamInfo
    public override StreamInfo CreateSecondaryStream( 
       string relativeName,
       string mimeType,
       string suggestedFileExtension
    )

    Parameters

    relativeName
    A string value indicating the name to give the secondary stream. The outputFileNamePrefix will be added to the beginning of this name.
    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