Xceed Grid for WinForms v4.3 Documentation
GridPrintDocument Constructor


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > GridPrintDocument Class : GridPrintDocument Constructor
A reference to the GridControl object to print.
Initializes a new instance of the GridPrintDocument class.
Syntax
'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.
Remarks

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.

Requirements

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

See Also

Reference

GridPrintDocument Class
GridPrintDocument Members