Table Of Contents

Previous topic

PowerType

Next topic

PreviewControlBar

This Page

phoenix_title PreviewCanvas

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


class_hierarchy Inheritance Diagram

Inheritance diagram for class PreviewCanvas

Inheritance diagram of PreviewCanvas


method_summary Methods Summary

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

api Class API



class PreviewCanvas(ScrolledWindow)

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

Possible constructors:

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

Methods



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

Constructor.

Parameters:


OnPaint(self, event)

Calls PrintPreview.PaintPage to refresh the canvas.

Parameters:event (PaintEvent) –