wx.PreviewCanvas¶A preview canvas is the default canvas used by the print preview system to display the preview.
See also
wx.PreviewFrame, wx.PreviewControlBar, wx.PrintPreview
Class Hierarchy¶
Inheritance diagram for class PreviewCanvas:

Methods Summary¶Constructor. |
|
Calls |
Class API¶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.
__init__(self, preview, parent, pos=DefaultPosition, size=DefaultSize, style=0, name="canvas")¶Constructor.
preview (wx.PrintPreview) –
parent (wx.Window) –
pos (wx.Point) –
size (wx.Size) –
style (long) –
name (string) –
GetClassDefaultAttributes(variant=WINDOW_VARIANT_NORMAL)¶variant (WindowVariant) –
OnPaint(self, event)¶Calls wx.PrintPreview.PaintPage to refresh the canvas.
event (wx.PaintEvent) –