C# Class ARCed.Scintilla.PrintDocument

Inheritance: System.Drawing.Printing.PrintDocument
Show file Open project: borisblizzard/arcreator Class Usage Examples

Public Methods

Method Description
PrintDocument ( Scintilla oScintillaControl ) : System.ComponentModel

Default Constructor

Protected Methods

Method Description
OnBeginPrint ( System.Drawing.Printing.PrintEventArgs e ) : void

Method called after the Print method is called and before the first page of the document prints

OnEndPrint ( System.Drawing.Printing.PrintEventArgs e ) : void

Method called when the last page of the document has printed

OnPrintPage ( System.Drawing.Printing.PrintPageEventArgs e ) : void

Method called when printing a page

Private Methods

Method Description
DrawCurrentPage ( Graphics oGraphics, Rectangle oBounds ) : void
DrawFooter ( Graphics oGraphics, Rectangle oBounds, PageInformation oFooter ) : Rectangle
DrawHeader ( Graphics oGraphics, Rectangle oBounds, PageInformation oHeader ) : Rectangle
ResetDocumentName ( ) : void
ResetOriginAtMargins ( ) : void
ShouldSerialize ( ) : bool
ShouldSerializeDocumentName ( ) : bool
ShouldSerializeOriginAtMargins ( ) : bool

Method Details

OnBeginPrint() protected method

Method called after the Print method is called and before the first page of the document prints
protected OnBeginPrint ( System.Drawing.Printing.PrintEventArgs e ) : void
e System.Drawing.Printing.PrintEventArgs A PrintPageEventArgs that contains the event data
return void

OnEndPrint() protected method

Method called when the last page of the document has printed
protected OnEndPrint ( System.Drawing.Printing.PrintEventArgs e ) : void
e System.Drawing.Printing.PrintEventArgs A PrintPageEventArgs that contains the event data
return void

OnPrintPage() protected method

Method called when printing a page
protected OnPrintPage ( System.Drawing.Printing.PrintPageEventArgs e ) : void
e System.Drawing.Printing.PrintPageEventArgs A PrintPageEventArgs that contains the event data
return void

PrintDocument() public method

Default Constructor
public PrintDocument ( Scintilla oScintillaControl ) : System.ComponentModel
oScintillaControl Scintilla Scintilla control being printed
return System.ComponentModel