Version

UltraGridPrintDocument Class

A System.Drawing.Printing.PrintDocument used to print the contents of an associated UltraGrid
Syntax
'Declaration
 
Public Class UltraGridPrintDocument 
   Inherits Infragistics.Win.Printing.UltraPrintDocument
public class UltraGridPrintDocument : Infragistics.Win.Printing.UltraPrintDocument 
Remarks

The UltraGrid previously exposed only methods (e.g. UltraGrid.PrintPreview and UltraGrid.Print) for previewing and printing the contents of the grid respectively. These methods utilize the intrinsic .net controls for printing and previewing. The primary purpose for the UltraGridPrintDocument is to allow the grid to be printed and/or previewed using custom classes and controls that can deal with a System.Drawing.Printing.PrintDocument including the UltraPrintPreviewControl.

Note: When the System.Drawing.Printing.PrintDocument.Print method is invoked, events on the associated Grid will be invoked just as when using the UltraGrid.Print method including the UltraGrid.InitializePrint and UltraGrid.BeforePrint events.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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