Click or drag to resize

PdfViewerDrawRenderedPagesToDevice Method

Combine two buffers (rendered pages and forms) and draw them to graphics

Namespace: Patagames.Pdf.Net.Controls.WinForms
Assembly: Patagames.Pdf.WinForms (in Patagames.Pdf.WinForms.dll) Version: 4.100.2704
Syntax
protected virtual void DrawRenderedPagesToDevice(
	Graphics graphics,
	PdfBitmap canvasBitmap,
	PdfBitmap formsBitmap,
	Size canvasSize
)

Parameters

graphics  Graphics
The drawing surface
canvasBitmap  PdfBitmap
Bitmap with rendered pages
formsBitmap  PdfBitmap
Bitmap with rendered forms
canvasSize  Size
Size of buffer
Remarks
This method should combine bitmaps with alpha blending and draw result to graphics surface. Please see the remarks section of OnPaint(PaintEventArgs) for getting more info about page rendering order.
See Also