Class DiagramPrintDocument
Print document object for a diagram.
Inheritance
Namespace: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Base.dll
Syntax
public class DiagramPrintDocument : PrintDocument
Constructors
DiagramPrintDocument(IPrint)
Initializes a new instance of the DiagramPrintDocument class.
Declaration
public DiagramPrintDocument(IPrint printObj)
Parameters
Type | Name | Description |
---|---|---|
IPrint | printObj | An object implementing the IPrint interface. This is usually the diagram's model component. |
Methods
OnBeginPrint(PrintEventArgs)
Overridden. See System.Drawing.Printing.PrintDocument.OnBeginPrint(System.Drawing.Printing.PrintEventArgs).
Declaration
protected override void OnBeginPrint(PrintEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Printing.PrintEventArgs | e | A System.Drawing.Printing.PrintEventArgs that contains the event data. |
OnEndPrint(PrintEventArgs)
Overridden. See System.Drawing.Printing.PrintDocument.OnEndPrint(System.Drawing.Printing.PrintEventArgs).
Declaration
protected override void OnEndPrint(PrintEventArgs evtArgs)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Printing.PrintEventArgs | evtArgs | The System.Drawing.Printing.PrintEventArgs instance containing the event data. |
OnPrintPage(PrintPageEventArgs)
Overridden. See System.Drawing.Printing.PrintDocument.OnPrintPage(System.Drawing.Printing.PrintPageEventArgs).
Declaration
protected override void OnPrintPage(PrintPageEventArgs evtArgs)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Printing.PrintPageEventArgs | evtArgs | The System.Drawing.Printing.PrintPageEventArgs instance containing the event data. |
OnQueryPageSettings(QueryPageSettingsEventArgs)
Overridden. See System.Drawing.Printing.PrintDocument.OnQueryPageSettings(System.Drawing.Printing.QueryPageSettingsEventArgs).
Declaration
protected override void OnQueryPageSettings(QueryPageSettingsEventArgs evtArgs)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Printing.QueryPageSettingsEventArgs | evtArgs | The System.Drawing.Printing.QueryPageSettingsEventArgs instance containing the event data. |