Class MultiGridPrintDocument
Provides the functionalities of multiple pages printing.
Inherited Members
Namespace: Syncfusion.GridHelperClasses
Assembly: Syncfusion.GridHelperClasses.Windows.dll
Syntax
public class MultiGridPrintDocument : GridPrintDocumentAdv
Constructors
MultiGridPrintDocument(List<Control>)
Initializes a new instance of the MultiGridPrintDocument class.
Declaration
public MultiGridPrintDocument(List<Control> ctrl)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<System.Windows.Forms.Control> | ctrl |
Properties
GridPrintOption
Gets or sets the MultiGridPrintOptions.
Declaration
public MultiGridPrintDocument.GridPrintOptions GridPrintOption { get; set; }
Property Value
Type |
---|
MultiGridPrintDocument.GridPrintOptions |
ShowHeaderFooterOnAllPages
Gets or sets a value indicating whether to include Header's and footer's on the print page.
Declaration
public bool ShowHeaderFooterOnAllPages { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
OnBeginPrint(PrintEventArgs)
Overridden to raise the MultipleGridPrint event.
Declaration
protected override void OnBeginPrint(PrintEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Printing.PrintEventArgs | e | The System.Drawing.Printing.PrintEventArgs that contains the event data. |
Overrides
OnEndPrint(PrintEventArgs)
Overridden to perform end print.
Declaration
protected override void OnEndPrint(PrintEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Printing.PrintEventArgs | e | The System.Drawing.Printing.PrintEventArgs that contains the event data. |
Overrides
OnPrintPage(PrintPageEventArgs)
OVerridden to perform the multi grid printing.
Declaration
protected override void OnPrintPage(PrintPageEventArgs ev)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Printing.PrintPageEventArgs | ev | The System.Drawing.Printing.PrintEventArgs that contains the event data. |
Overrides
OnremoveGrid(MultiGridPrintDocument.RemoveGridEventArgs)
Raises the MultipleGridPrint event.
Declaration
protected virtual void OnremoveGrid(MultiGridPrintDocument.RemoveGridEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
MultiGridPrintDocument.RemoveGridEventArgs | e | The MultiGridPrintDocument.RemoveGridEventArgs that contains the event data. |
Events
MultipleGridPrint
MultipleGridPrint event is used to remove grid from the list of the grids passed for printing.
Declaration
public event MultiGridPrintDocument.RemoveGridEventHandler MultipleGridPrint
Event Type
Type |
---|
MultiGridPrintDocument.RemoveGridEventHandler |