True DBGrid for WinForms | ComponentOne
C1.Win.C1TrueDBGrid.4.8 Assembly / C1.Win.C1TrueDBGrid Namespace / PrintInfo Class / SaveAs Method / SaveAs(String,Boolean) Method
The name of the output file.
The format of the output file, true binary format should be used (C1DB) otherwise standard C1D format.

In This Topic
    SaveAs(String,Boolean) Method
    In This Topic
    Saves the current grid as a file, which can later be loaded into a C1PrintDocument.

    Note that unlike most other print/export methods, this method does not require C1.PrintDocument assemblies.

    Syntax
    'Declaration
     
    Public Overloads Function SaveAs( _
       ByVal outputFileName As System.String, _
       ByVal binaryFormat As System.Boolean _
    ) As System.Boolean
    public System.bool SaveAs( 
       System.string outputFileName,
       System.bool binaryFormat
    )

    Parameters

    outputFileName
    The name of the output file.
    binaryFormat
    The format of the output file, true binary format should be used (C1DB) otherwise standard C1D format.

    Return Value

    true if the file was successfully saved, false otherwise.
    See Also