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

wxErlang
Reference Manual
Version 1.6.1


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) -> wxPrintPreview()

Types:

Printout = wxPrintout() (see module wxPrintout)

Equivalent to new(Printout, []).

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

Types:

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

new(Printout, PrintoutForPrinting, Data) -> wxPrintPreview()

Types:

Printout = wxPrintout() (see module wxPrintout)
PrintoutForPrinting = wxPrintout() (see module wxPrintout)
Data = wxPrintData() (see module wxPrintData)

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

Types:

This = wxPrintPreview()

getCurrentPage(This) -> integer()

Types:

This = wxPrintPreview()

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

Types:

This = wxPrintPreview()

getMaxPage(This) -> integer()

Types:

This = wxPrintPreview()

getMinPage(This) -> integer()

Types:

This = wxPrintPreview()

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

Types:

This = wxPrintPreview()

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

Types:

This = wxPrintPreview()

isOk(This) -> boolean()

Types:

This = wxPrintPreview()

paintPage(This, Canvas, Dc) -> boolean()

Types:

This = wxPrintPreview()
Canvas = wxPreviewCanvas() (see module wxPreviewCanvas)
Dc = wxDC() (see module wxDC)

print(This, Interactive) -> boolean()

Types:

This = wxPrintPreview()
Interactive = boolean()

renderPage(This, PageNum) -> boolean()

Types:

This = wxPrintPreview()
PageNum = integer()

setCanvas(This, Canvas) -> ok

Types:

This = wxPrintPreview()
Canvas = wxPreviewCanvas() (see module wxPreviewCanvas)

setCurrentPage(This, PageNum) -> boolean()

Types:

This = wxPrintPreview()
PageNum = integer()

setFrame(This, Frame) -> ok

Types:

This = wxPrintPreview()
Frame = wxFrame() (see module wxFrame)

setPrintout(This, Printout) -> ok

Types:

This = wxPrintPreview()
Printout = wxPrintout() (see module wxPrintout)

setZoom(This, Percent) -> ok

Types:

This = wxPrintPreview()
Percent = integer()

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

Destroys this object, do not use object again