wxPrintout
MODULE
MODULE SUMMARY
DESCRIPTION
See external documentation: wxPrintout.
DATA TYPES
EXPORTS
new(Title::string(), OnPrintPage::function()) -> wxPrintout() (see module wxPrintout)
Types:
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.
getDC(This::wxPrintout()) -> wxDC() (see module wxDC)
getPageSizeMM(This::wxPrintout()) -> {W::integer(), H::integer()}
getPageSizePixels(This::wxPrintout()) -> {W::integer(), H::integer()}
getPaperRectPixels(This::wxPrintout()) -> {X::integer(), Y::integer(), W::integer(), H::integer()}
getPPIPrinter(This::wxPrintout()) -> {X::integer(), Y::integer()}
getPPIScreen(This::wxPrintout()) -> {X::integer(), Y::integer()}
getTitle(This::wxPrintout()) -> string()
isPreview(This::wxPrintout()) -> bool()
fitThisSizeToPaper(This::wxPrintout(), ImageSize::{W::integer(), H::integer()}) -> ok
fitThisSizeToPage(This::wxPrintout(), ImageSize::{W::integer(), H::integer()}) -> ok
mapScreenSizeToPaper(This::wxPrintout()) -> ok
mapScreenSizeToPage(This::wxPrintout()) -> ok
mapScreenSizeToDevice(This::wxPrintout()) -> ok
getLogicalPaperRect(This::wxPrintout()) -> {X::integer(), Y::integer(), W::integer(), H::integer()}
getLogicalPageRect(This::wxPrintout()) -> {X::integer(), Y::integer(), W::integer(), H::integer()}
setLogicalOrigin(This::wxPrintout(), X::integer(), Y::integer()) -> ok
offsetLogicalOrigin(This::wxPrintout(), Xoff::integer(), Yoff::integer()) -> ok