PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.8 Assembly / C1.Win.C1Preview Namespace / C1PreviewPane Class / FileSave Method / FileSave() Method

In This Topic
    FileSave() Method
    In This Topic
    Saves the currently loaded document, allowing the user to select the file name and the output format, using the C1PreviewPane.ExportOptions specified on the current preview pane.
    Syntax
    'Declaration
     
    Public Overloads Function FileSave() As Boolean
    public bool FileSave()

    Return Value

    true if the file was saved, false if an error occurred or if the user cancelled the dialog.
    Remarks
    If a handler is assigned to the C1PreviewPane.Error event, that handler is invoked but no message is shown to the user.
    See Also