User's Guide
Reference Manual
Release Notes
PDF
Top

wxErlang
Reference Manual
Version 0.99.2

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, Option::[Option]) -> wxPrintPreview()

Types:

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

See external documentation.

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

Types:

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

See external documentation.

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

Types:

This = wxPrintPreview()

See external documentation.

getCurrentPage(This) -> integer()

Types:

This = wxPrintPreview()

See external documentation.

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

Types:

This = wxPrintPreview()

See external documentation.

getMaxPage(This) -> integer()

Types:

This = wxPrintPreview()

See external documentation.

getMinPage(This) -> integer()

Types:

This = wxPrintPreview()

See external documentation.

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

Types:

This = wxPrintPreview()

See external documentation.

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

Types:

This = wxPrintPreview()

See external documentation.

isOk(This) -> boolean()

Types:

This = wxPrintPreview()

See external documentation.

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

Types:

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

See external documentation.

print(This, Interactive) -> boolean()

Types:

This = wxPrintPreview()
Interactive = boolean()

See external documentation.

renderPage(This, PageNum) -> boolean()

Types:

This = wxPrintPreview()
PageNum = integer()

See external documentation.

setCanvas(This, Canvas) -> ok

Types:

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

See external documentation.

setCurrentPage(This, PageNum) -> boolean()

Types:

This = wxPrintPreview()
PageNum = integer()

See external documentation.

setFrame(This, Frame) -> ok

Types:

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

See external documentation.

setPrintout(This, Printout) -> ok

Types:

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

See external documentation.

setZoom(This, Percent) -> ok

Types:

This = wxPrintPreview()
Percent = integer()

See external documentation.

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

Destroys this object, do not use object again