wxErlang

Reference Manual

Version 1.8.3

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

Equivalent to new(Printout, []).

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

Types

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

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

Types

PrintoutForPrinting = wxPrintout:wxPrintout()

getCanvas(This) -> wxPreviewCanvas:wxPreviewCanvas()

Types

getCurrentPage(This) -> integer()

Types

getFrame(This) -> wxFrame:wxFrame()

Types

getMaxPage(This) -> integer()

Types

getMinPage(This) -> integer()

Types

getPrintout(This) -> wxPrintout:wxPrintout()

Types

getPrintoutForPrinting(This) -> wxPrintout:wxPrintout()

Types

isOk(This) -> boolean()

Types

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

print(This, Interactive) -> boolean()

Types

Interactive = boolean()

renderPage(This, PageNum) -> boolean()

Types

PageNum = integer()

setCanvas(This, Canvas) -> ok

setCurrentPage(This, PageNum) -> boolean()

Types

PageNum = integer()

setFrame(This, Frame) -> ok

Types

setPrintout(This, Printout) -> ok

Types

setZoom(This, Percent) -> ok

Types

Percent = integer()

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

Destroys this object, do not use object again