ComponentOne True DBGrid for WinForms
SaveAs(String,Boolean) Method

C1.Win.C1TrueDBGrid.4 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.
Saves the current grid as a file, which can later be loaded into a C1PrintDocument (provided by C1Report product).

Note that unlike most other print/export methods, this method does not require C1Report 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

Reference

PrintInfo Class
PrintInfo Members
Overload List