PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.8 Assembly / C1.Win.C1Preview.Design Namespace / SampleC1PrintDocument Class / Export Method / Export(Stream,ExportProvider,OutputRange,Boolean) Method
The destination stream.
The export provider. Use any of the static export providers available on the C1.C1Preview.Export.ExportProviders class.
The range of pages to export (use null to export all pages).
Flag indicating whether to show the progress dialog.

In This Topic
    Export(Stream,ExportProvider,OutputRange,Boolean) Method
    In This Topic
    Exports the document to a stream.
    Syntax
    'Declaration
     
    Public Overloads Sub Export( _
       ByVal stream As Stream, _
       ByVal exportProvider As ExportProvider, _
       ByVal outputRange As OutputRange, _
       ByVal showProgress As Boolean _
    ) 
    public void Export( 
       Stream stream,
       ExportProvider exportProvider,
       OutputRange outputRange,
       bool showProgress
    )

    Parameters

    stream
    The destination stream.
    exportProvider
    The export provider. Use any of the static export providers available on the C1.C1Preview.Export.ExportProviders class.
    outputRange
    The range of pages to export (use null to export all pages).
    showProgress
    Flag indicating whether to show the progress dialog.
    See Also