Scroll to navigation

wxPrintPreview(3erl) Erlang Module Definition wxPrintPreview(3erl)

NAME

wxPrintPreview - See external documentation: wxPrintPreview.

DESCRIPTION

See external documentation: wxPrintPreview.

DATA TYPES

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:wxPrintout()

Equivalent to new(Printout, []).

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

Types:

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

See external documentation.

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

Types:

Printout = wxPrintout:wxPrintout()
PrintoutForPrinting = wxPrintout:wxPrintout()
Data = wxPrintData:wxPrintData()

See external documentation.

getCanvas(This) -> wxPreviewCanvas:wxPreviewCanvas()

Types:

This = wxPrintPreview()

See external documentation.

getCurrentPage(This) -> integer()

Types:

This = wxPrintPreview()

See external documentation.

getFrame(This) -> wxFrame: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:wxPrintout()

Types:

This = wxPrintPreview()

See external documentation.

getPrintoutForPrinting(This) -> wxPrintout: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:wxPreviewCanvas()
Dc = wxDC: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: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:wxFrame()

See external documentation.

setPrintout(This, Printout) -> ok

Types:

This = wxPrintPreview()
Printout = wxPrintout: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

AUTHORS

<>

wx 1.9.2