Phoenix Logo

phoenix_title wx.PreviewCanvas

A preview canvas is the default canvas used by the print preview system to display the preview.


class_hierarchy Class Hierarchy

Inheritance diagram for class PreviewCanvas:


method_summary Methods Summary

__init__ Constructor.
OnPaint Calls wx.PrintPreview.PaintPage to refresh the canvas.

api Class API



class wx.PreviewCanvas(ScrolledWindow)

Possible constructors:

PreviewCanvas(preview, parent, pos=DefaultPosition, size=DefaultSize,
              style=0, name="canvas")

A preview canvas is the default canvas used by the print preview system to display the preview.


Methods



__init__(self, preview, parent, pos=DefaultPosition, size=DefaultSize, style=0, name="canvas")

Constructor.

Parameters:


OnPaint(self, event)

Calls wx.PrintPreview.PaintPage to refresh the canvas.

Parameters:event (wx.PaintEvent) –