PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.4.8 Assembly / C1.Win.C1Preview Namespace / C1PreviewFileActions Class / FileSave Method / FileSave(String,ExportProvider) Method
The target file name.
The export provider to use.

In This Topic
    FileSave(String,ExportProvider) Method
    In This Topic
    Saves (exports) the current document in the specified file. If fileName is empty or specifies a directory, the user can select a file name in a "save file" dialog. If specified, exportProvider determines the save/export format, otherwise the file extension is used.
    Syntax
    'Declaration
     
    Public Overloads Function FileSave( _
       ByVal fileName As String, _
       ByVal exportProvider As ExportProvider _
    ) As Boolean
    public bool FileSave( 
       string fileName,
       ExportProvider exportProvider
    )

    Parameters

    fileName
    The target file name.
    exportProvider
    The export provider to use.

    Return Value

    true if the current document was saved, false otherwise.
    See Also