Class EditorPrintDocument
Defines a reusable object that sends output to a printer.
public class EditorPrintDocument : PrintDocument, IComponent, IDisposable
- Inheritance
-
EditorPrintDocument
- Implements
Remarks
Normally you do not need to use this class. It's used internally by Edit control.
Constructors
- EditorPrintDocument(IPrinting, PrinterSettings)
Initializes a new instance of the
EditorPrintDocument
class with specified parameters.
Methods
- Init(ISyntaxEdit)
Initializes
EditorPrintDocument
content with content of Edit control.
- Init(ISyntaxEdit, bool)
Initializes
EditorPrintDocument
content with content of Edit control.
- OnBeginPrint(PrintEventArgs)
Raises the BeginPrint event. It is called after the Print() method is called and before the first page of the document prints.
- OnEndPrint(PrintEventArgs)
Raises the EndPrint event. It is called when the last page of the document has printed.
- OnPrintPage(PrintPageEventArgs)
Raises the PrintPage event. It is called before a page prints.