ComponentOne FlexGrid for WinForms
PrintGrid(String) Method

C1.Win.C1FlexGrid Namespace > C1FlexGridBase Class > PrintGrid Method : PrintGrid(String) Method
The document name, which appears on the progress dialogs and on the print job windows.
Prints the grid, optionally showing a page setup or print preview dialog.
Syntax
'Declaration
 
Public Overloads Function PrintGrid( _
   ByVal docName As String _
) As Boolean
public bool PrintGrid( 
   string docName
)

Parameters

docName
The document name, which appears on the progress dialogs and on the print job windows.

Return Value

True if the grid was printed, false if the user canceled the operation.
Remarks
Use the PrintParameters property to set up options such as page orientation and margins, header and footer fonts, etc.
See Also

Reference

C1FlexGridBase Class
C1FlexGridBase Members
Overload List