wxPrintout
See external documentation: wxPrintout.
See external documentation:
Functions
new(Title::string(), OnPrintPage::function()) -> wxPrintout() (see module wxPrintout)
@equiv new(Title, OnPrintPage, [])
new(Title::string(), OnPrintPage::function(), Opts::[Option]) -> wxPrintout() (see module wxPrintout)
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.
getDC(This) -> wxDC() (see module wxDC)
This = wxPrintout()
See
getPageSizeMM(This) -> {W::integer(), H::integer()}
This = wxPrintout()
See
getPageSizePixels(This) -> {W::integer(), H::integer()}
This = wxPrintout()
See
getPaperRectPixels(This) -> {X::integer(), Y::integer(), W::integer(), H::integer()}
This = wxPrintout()
See
getPPIPrinter(This) -> {X::integer(), Y::integer()}
This = wxPrintout()
See
getPPIScreen(This) -> {X::integer(), Y::integer()}
This = wxPrintout()
See
getTitle(This) -> charlist() (see module unicode)
This = wxPrintout()
See
isPreview(This) -> boolean()
This = wxPrintout()
See
fitThisSizeToPaper(This, ImageSize) -> ok
This = wxPrintout()
ImageSize = {W::integer(), H::integer()}
See
fitThisSizeToPage(This, ImageSize) -> ok
This = wxPrintout()
ImageSize = {W::integer(), H::integer()}
See
fitThisSizeToPageMargins(This, ImageSize, PageSetupData) -> ok
This = wxPrintout()
ImageSize = {W::integer(), H::integer()}
PageSetupData = wxPageSetupDialogData() (see module wxPageSetupDialogData)
See
mapScreenSizeToPaper(This) -> ok
This = wxPrintout()
See
mapScreenSizeToPage(This) -> ok
This = wxPrintout()
See
mapScreenSizeToPageMargins(This, PageSetupData) -> ok
This = wxPrintout()
PageSetupData = wxPageSetupDialogData() (see module wxPageSetupDialogData)
See
mapScreenSizeToDevice(This) -> ok
This = wxPrintout()
See
getLogicalPaperRect(This) -> {X::integer(), Y::integer(), W::integer(), H::integer()}
This = wxPrintout()
See
getLogicalPageRect(This) -> {X::integer(), Y::integer(), W::integer(), H::integer()}
This = wxPrintout()
See
getLogicalPageMarginsRect(This, PageSetupData) -> {X::integer(), Y::integer(), W::integer(), H::integer()}
This = wxPrintout()
PageSetupData = wxPageSetupDialogData() (see module wxPageSetupDialogData)
See
setLogicalOrigin(This, X, Y) -> ok
This = wxPrintout()
X = integer()
Y = integer()
See
offsetLogicalOrigin(This, Xoff, Yoff) -> ok
This = wxPrintout()
Xoff = integer()
Yoff = integer()
See
destroy(This::wxPrintout()) -> ok
Destroys this object, do not use object again