PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.8 Assembly / C1.Win.C1Preview.Design Namespace / SampleC1PrintDocument Class / Export Method / Export(String,ExportProvider,OutputRange,Boolean) Method
The output file name. The file extension determines the export format.
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(String,ExportProvider,OutputRange,Boolean) Method
    In This Topic
    Exports the document to a disk file.
    Syntax
    'Declaration
     
    Public Overloads Sub Export( _
       ByVal fileName As String, _
       ByVal exportProvider As ExportProvider, _
       ByVal outputRange As OutputRange, _
       ByVal showProgress As Boolean _
    ) 
    public void Export( 
       string fileName,
       ExportProvider exportProvider,
       OutputRange outputRange,
       bool showProgress
    )

    Parameters

    fileName
    The output file name. The file extension determines the export format.
    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