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