.TH wxPrintout 3erl "wx 1.9.2" "" "Erlang Module Definition" .SH NAME wxPrintout \- See external documentation: wxPrintout. .SH DESCRIPTION .LP See external documentation: wxPrintout\&. .SH "DATA TYPES" .RS 2 .TP 2 .B wxPrintout(): .RS 2 .LP 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\&. .RE .RE .SH EXPORTS .LP .B new(Title::string(), OnPrintPage::function()) -> wxPrintout:wxPrintout() .br .RS .LP @equiv new(Title, OnPrintPage, []) .RE .LP .B new(Title::string(), OnPrintPage::function(), Opts::[Option]) -> wxPrintout:wxPrintout() .br .RS .LP Types: .RS 3 Option = {onPreparePrinting, OnPreparePrinting::function()} | {onBeginPrinting, OnBeginPrinting::function()} | {onEndPrinting, OnEndPrinting::function()} | {onBeginDocument, OnBeginDocument::function()} | {onEndDocument, OnEndDocument::function()} | {hasPage, HasPage::function()} | {getPageInfo, GetPageInfo::function()} .br .RE .RE .RS .LP Creates a wxPrintout object with a callback fun and optionally other callback funs\&. .br .LP .nf OnPrintPage(This,Page) -> boolean() .fi .LP .nf OnPreparePrinting(This) -> term() .fi .LP .nf OnBeginPrinting(This) -> term() .fi .LP .nf OnEndPrinting(This) -> term() .fi .LP .nf OnBeginDocument(This,StartPage,EndPage) -> boolean() .fi .LP .nf OnEndDocument(This) -> term() .fi .LP .nf HasPage(This,Page)} -> boolean() .fi .LP .nf GetPageInfo(This) -> {MinPage::integer(), MaxPage::integer(), PageFrom::integer(), PageTo::integer()} .fi .LP The \fIThis\fR\& argument is the wxPrintout object reference to this object .br NOTE: The callbacks may not call other processes\&. .RE .LP .B getDC(This) -> wxDC:wxDC() .br .RS .LP Types: .RS 3 This = wxPrintout() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B getPageSizeMM(This) -> {W::integer(), H::integer()} .br .RS .LP Types: .RS 3 This = wxPrintout() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B getPageSizePixels(This) -> {W::integer(), H::integer()} .br .RS .LP Types: .RS 3 This = wxPrintout() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B getPaperRectPixels(This) -> {X::integer(), Y::integer(), W::integer(), H::integer()} .br .RS .LP Types: .RS 3 This = wxPrintout() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B getPPIPrinter(This) -> {X::integer(), Y::integer()} .br .RS .LP Types: .RS 3 This = wxPrintout() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B getPPIScreen(This) -> {X::integer(), Y::integer()} .br .RS .LP Types: .RS 3 This = wxPrintout() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B getTitle(This) -> unicode:charlist() .br .RS .LP Types: .RS 3 This = wxPrintout() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B isPreview(This) -> boolean() .br .RS .LP Types: .RS 3 This = wxPrintout() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B fitThisSizeToPaper(This, ImageSize) -> ok .br .RS .LP Types: .RS 3 This = wxPrintout() .br ImageSize = {W::integer(), H::integer()} .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B fitThisSizeToPage(This, ImageSize) -> ok .br .RS .LP Types: .RS 3 This = wxPrintout() .br ImageSize = {W::integer(), H::integer()} .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B fitThisSizeToPageMargins(This, ImageSize, PageSetupData) -> ok .br .RS .LP Types: .RS 3 This = wxPrintout() .br ImageSize = {W::integer(), H::integer()} .br PageSetupData = wxPageSetupDialogData:wxPageSetupDialogData() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B mapScreenSizeToPaper(This) -> ok .br .RS .LP Types: .RS 3 This = wxPrintout() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B mapScreenSizeToPage(This) -> ok .br .RS .LP Types: .RS 3 This = wxPrintout() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B mapScreenSizeToPageMargins(This, PageSetupData) -> ok .br .RS .LP Types: .RS 3 This = wxPrintout() .br PageSetupData = wxPageSetupDialogData:wxPageSetupDialogData() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B mapScreenSizeToDevice(This) -> ok .br .RS .LP Types: .RS 3 This = wxPrintout() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B getLogicalPaperRect(This) -> {X::integer(), Y::integer(), W::integer(), H::integer()} .br .RS .LP Types: .RS 3 This = wxPrintout() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B getLogicalPageRect(This) -> {X::integer(), Y::integer(), W::integer(), H::integer()} .br .RS .LP Types: .RS 3 This = wxPrintout() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B getLogicalPageMarginsRect(This, PageSetupData) -> {X::integer(), Y::integer(), W::integer(), H::integer()} .br .RS .LP Types: .RS 3 This = wxPrintout() .br PageSetupData = wxPageSetupDialogData:wxPageSetupDialogData() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B setLogicalOrigin(This, X, Y) -> ok .br .RS .LP Types: .RS 3 This = wxPrintout() .br X = integer() .br Y = integer() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B offsetLogicalOrigin(This, Xoff, Yoff) -> ok .br .RS .LP Types: .RS 3 This = wxPrintout() .br Xoff = integer() .br Yoff = integer() .br .RE .RE .RS .LP See external documentation\&. .RE .LP .B destroy(This::wxPrintout()) -> ok .br .RS .LP Destroys this object, do not use object again .RE .SH AUTHORS .LP .I <>