Class HTMLUIPrintDocument
Class that represents printing support in the HTMLUIControl.
Inheritance
System.Object
HTMLUIPrintDocument
Namespace: Syncfusion.Windows.Forms.HTMLUI
Assembly: Syncfusion.HTMLUI.Windows.dll
Syntax
public class HTMLUIPrintDocument : PrintDocument
Constructors
HTMLUIPrintDocument(IInputHTML)
Initializes a new instance of the HTMLUIPrintDocument class
Declaration
public HTMLUIPrintDocument(IInputHTML document)
Parameters
Type | Name | Description |
---|---|---|
IInputHTML | document | Document object to be printed. |
Methods
Dispose(Boolean)
Disposes the document.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | True to dispose all resources, False - to unmanaged resources only. |
OnBeginPrint(PrintEventArgs)
Overridden. Raised before the document prints.
Declaration
protected override void OnBeginPrint(PrintEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Printing.PrintEventArgs | e | Event data. |
OnEndPrint(PrintEventArgs)
Overridden. Raised when printing is finished.
Declaration
protected override void OnEndPrint(PrintEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Printing.PrintEventArgs | e | Event data. |
OnPrintPage(PrintPageEventArgs)
Overridden. Prints the page on the printer.
Declaration
protected override void OnPrintPage(PrintPageEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Printing.PrintPageEventArgs | e | Event data. |