'Declaration Public Function New( _ ByVal grid As GridControl _ )
'Usage Dim grid As GridControl Dim instance As New GridPrintDocument(grid)
public GridPrintDocument( GridControl grid )
Parameters
- grid
- A reference to the GridControl object to print.
'Declaration Public Function New( _ ByVal grid As GridControl _ )
'Usage Dim grid As GridControl Dim instance As New GridPrintDocument(grid)
public GridPrintDocument( GridControl grid )
The default constructor initializes all fields based upon the default printer. Typically, after creating a new GridPrintDocument, you set printer and page settings that affect the output through the System.Drawing.Printing.PrintDocument.PrinterSettings and System.Drawing.Printing.PrintDocument.DefaultPageSettings properties respectively.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2