FlexGrid for WinForms | ComponentOne
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.

In This Topic
    PrintGrid(String) Method
    In This Topic
    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