Infragistics(R) NetAdvantage(R) Windows Forms
UltraGridPrintDocument Class
Members  See Also  E-mail your feedback on this topic.
Infragistics.Win.UltraWinGrid Namespace : UltraGridPrintDocument Class

A System.Drawing.Printing.PrintDocument used to print the contents of an associated UltraGrid


Visual Basic (Declaration) 
Public Class UltraGridPrintDocument 
   Inherits Infragistics.Win.Printing.UltraPrintDocument
   Implements Infragistics.Shared.IUltraLicensedComponent 
public class UltraGridPrintDocument : Infragistics.Win.Printing.UltraPrintDocument, Infragistics.Shared.IUltraLicensedComponent  


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.

See Also