wxPrintout

wxPrintout

wxPrintout
See external documentation: wxPrintout.

See external documentation: wxPrintout.

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.

Types

Option = {onPreparePrinting, OnPreparePrinting::function()} | {onBeginPrinting, OnBeginPrinting::function()} | {onEndPrinting, OnEndPrinting::function()} | {onBeginDocument, OnBeginDocument::function()} | {onEndDocument, OnEndDocument::function()} | {hasPage, HasPage::function()} | {getPageInfo, GetPageInfo::function()}

Creates a wxPrintout object with a callback fun and optionally other callback funs.

OnPrintPage(This,Page) -> boolean() 
OnPreparePrinting(This) -> term()   
OnBeginPrinting(This) -> term()   
OnEndPrinting(This) -> term()   
OnBeginDocument(This,StartPage,EndPage) -> boolean()  
OnEndDocument(This) -> term()  
HasPage(This,Page)} -> boolean()   
GetPageInfo(This) -> {MinPage::integer(), MaxPage::integer(),
                               PageFrom::integer(), PageTo::integer()}  

The This argument is the wxPrintout object reference to this object
NOTE: The callbacks may not call other processes.

Destroys this object, do not use object again