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) -> wxDC() (see module wxDC)
Types:
getPageSizeMM(This) -> {W::integer(), H::integer()}
Types:
getPageSizePixels(This) -> {W::integer(), H::integer()}
Types:
getPaperRectPixels(This) -> {X::integer(), Y::integer(), W::integer(), H::integer()}
Types:
getPPIPrinter(This) -> {X::integer(), Y::integer()}
Types:
getPPIScreen(This) -> {X::integer(), Y::integer()}
Types:
getTitle(This) -> charlist() (see module unicode)
Types:
Types:
fitThisSizeToPaper(This, ImageSize) -> ok
Types:
fitThisSizeToPage(This, ImageSize) -> ok
Types:
fitThisSizeToPageMargins(This, ImageSize, PageSetupData) -> ok
Types:
mapScreenSizeToPaper(This) -> ok
Types:
mapScreenSizeToPage(This) -> ok
Types:
mapScreenSizeToPageMargins(This, PageSetupData) -> ok
Types:
mapScreenSizeToDevice(This) -> ok
Types:
getLogicalPaperRect(This) -> {X::integer(), Y::integer(), W::integer(), H::integer()}
Types:
getLogicalPageRect(This) -> {X::integer(), Y::integer(), W::integer(), H::integer()}
Types:
Types:
setLogicalOrigin(This, X, Y) -> ok
Types:
offsetLogicalOrigin(This, Xoff, Yoff) -> ok
Types: