wxPrintout
MODULE
MODULE SUMMARY
DESCRIPTION
See external documentation: wxPrintout.
DATA TYPES
EXPORTS
new(Title::string(), OnPrintPage::function()) -> wxPrintout:wxPrintout()
new(Title::string(), OnPrintPage::function(), Opts::[Option]) -> wxPrintout: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: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) -> unicode:charlist()
Types:
Types:
fitThisSizeToPaper(This, ImageSize) -> ok
fitThisSizeToPage(This, ImageSize) -> ok
fitThisSizeToPageMargins(This, ImageSize, PageSetupData) -> ok
Types:
mapScreenSizeToPaper(This) -> ok
Types:
mapScreenSizeToPage(This) -> ok
Types:
mapScreenSizeToPageMargins(This, PageSetupData) -> ok
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:
getLogicalPageMarginsRect(This, PageSetupData) -> {X::integer(), Y::integer(), W::integer(), H::integer()}
setLogicalOrigin(This, X, Y) -> ok
offsetLogicalOrigin(This, Xoff, Yoff) -> ok
destroy(This::wxPrintout()) -> ok