ARCed.Scintilla.PrintDocument.OnBeginPrint C# (CSharp) Method

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
        protected override void OnBeginPrint(PrintEventArgs e)
        {
            base.OnBeginPrint(e);

            this._iPosition = 0;
            this._iPrintEnd = this._oScintillaControl.TextLength;
            this._iCurrentPage = 1;
        }