Erlang logo
User's Guide
Reference Manual
Release Notes
PDF
Top

wxErlang
Reference Manual
Version 0.98.9


Expand All
Contract All

Table of Contents

wxPrintPreview

MODULE

wxPrintPreview

MODULE SUMMARY

See external documentation: wxPrintPreview.

DESCRIPTION

See external documentation: wxPrintPreview.

DATA TYPES

wxPrintPreview()

An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc or distributed for use on other nodes.

EXPORTS

new(Printout::wxPrintout() (see module wxPrintout)) -> wxPrintPreview()

Equivalent to new(Printout, []).

new(Printout::wxPrintout() (see module wxPrintout), Options::[Option]) -> wxPrintPreview()

Types:

Option = {printoutForPrinting, wxPrintout() (see module wxPrintout)} | {data, wxPrintDialogData() (see module wxPrintDialogData)}

new(Printout::wxPrintout() (see module wxPrintout), PrintoutForPrinting::wxPrintout() (see module wxPrintout), Data::wxPrintData() (see module wxPrintData)) -> wxPrintPreview()

getCanvas(This::wxPrintPreview()) -> wxPreviewCanvas() (see module wxPreviewCanvas)

getCurrentPage(This::wxPrintPreview()) -> integer()

getFrame(This::wxPrintPreview()) -> wxFrame() (see module wxFrame)

getMaxPage(This::wxPrintPreview()) -> integer()

getMinPage(This::wxPrintPreview()) -> integer()

getPrintout(This::wxPrintPreview()) -> wxPrintout() (see module wxPrintout)

getPrintoutForPrinting(This::wxPrintPreview()) -> wxPrintout() (see module wxPrintout)

isOk(This::wxPrintPreview()) -> bool()

paintPage(This::wxPrintPreview(), Canvas::wxPreviewCanvas() (see module wxPreviewCanvas), Dc::wxDC() (see module wxDC)) -> bool()

print(This::wxPrintPreview(), Interactive::bool()) -> bool()

renderPage(This::wxPrintPreview(), PageNum::integer()) -> bool()

setCanvas(This::wxPrintPreview(), Canvas::wxPreviewCanvas() (see module wxPreviewCanvas)) -> ok

setCurrentPage(This::wxPrintPreview(), PageNum::integer()) -> bool()

setFrame(This::wxPrintPreview(), Frame::wxFrame() (see module wxFrame)) -> ok

setPrintout(This::wxPrintPreview(), Printout::wxPrintout() (see module wxPrintout)) -> ok

setZoom(This::wxPrintPreview(), Percent::integer()) -> ok

destroy(This::wxPrintPreview()) -> ok

Destroys this object, do not use object again