Xceed Grid for WinForms v4.3 Documentation
CreatePrintDocument Method


Xceed.Grid.Reporting.v4.3 Assembly > Xceed.Grid.Reporting Namespace > Report Class : CreatePrintDocument Method
Creates a new instance of a System.Drawing.Printing.PrintDocument.
Syntax
'Declaration
 
Public Function CreatePrintDocument() As PrintDocument
'Usage
 
Dim instance As Report
Dim value As PrintDocument
 
value = instance.CreatePrintDocument()
public PrintDocument CreatePrintDocument()

Return Value

Remarks

The PrintDocument returned by the CreatePrintDocument is not the print document which is used by the Print(Boolean) and PrintPreview methods. The new instance that is returned is to be used when manually handling the printing or preview process.

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

Report Class
Report Members