 | PdfViewerOnPaint Method |
Raises the System.Windows.Forms.Control.Paint event.
Namespace: Patagames.Pdf.Net.Controls.WinFormsAssembly: Patagames.Pdf.WinForms (in Patagames.Pdf.WinForms.dll) Version: 4.100.2704
Syntaxprotected override void OnPaint(
PaintEventArgs e
)
Protected Overrides Sub OnPaint (
e As PaintEventArgs
)
protected:
virtual void OnPaint(
PaintEventArgs^ e
) override
abstract OnPaint :
e : PaintEventArgs -> unit
override OnPaint :
e : PaintEventArgs -> unit protected void OnPaint(
PaintEventArgs e
)
Parameters
- e PaintEventArgs
- A System.Windows.Forms.PaintEventArgs that contains the event data.
Remarks
The page rendering is performed in the following order:
- DrawPageBackColor(PdfBitmap, Int32, Int32, Int32, Int32)
- RegenerateAnnots(Int32)
- DrawPage(PdfBitmap, PdfPage, Rectangle)
- DrawFillForms(PdfBitmap, PdfPage, Rectangle)
- DrawFillFormsSelection(PdfBitmap, ListRectangle)
- DrawTextHighlight(PdfBitmap, ListHighlightInfo, Int32)
- DrawTextSelection(PdfBitmap, SelectInfo, Int32)
- DrawRenderedPagesToDevice(Graphics, PdfBitmap, PdfBitmap, Size)
- DrawPageSeparators(Graphics, ListPoint)
- DrawLoadingIcon(Graphics, PdfPage, Rectangle) if page is still drawing
- DrawPageBorder(Graphics, Rectangle)
- DrawFillFormsSelection(Graphics, ListRectangle)
- DrawTextHighlight(Graphics, ListHighlightInfo, Int32)
- DrawTextSelection(Graphics, SelectInfo, Int32)
- DrawCurrentPageHighlight(Graphics, Int32, Rectangle)
See Also