PrintDocument for WinForms | ComponentOne
C1.PrintDocument.6 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / Save Method / Save(String,C1DocumentFormatEnum) Method
The target file name.
The document persistence format to use.

In This Topic
    Save(String,C1DocumentFormatEnum) Method
    In This Topic
    Saves the current document to a disk file using the specified format.
    Syntax
    'Declaration
     
    Public Overloads Sub Save( _
       ByVal fileName As String, _
       ByVal documentFormat As C1DocumentFormatEnum _
    ) 
    public void Save( 
       string fileName,
       C1DocumentFormatEnum documentFormat
    )

    Parameters

    fileName
    The target file name.
    documentFormat
    The document persistence format to use.
    See Also