1wxPrintout(3)              Erlang Module Definition              wxPrintout(3)
2
3
4

NAME

6       wxPrintout - See external documentation: wxPrintout.
7

DESCRIPTION

9       See external documentation: wxPrintout.
10

DATA TYPES

12         wxPrintout():
13
14
15           An  object  reference,  The  representation  is internal and can be
16           changed without notice. It can't be used for comparsion  stored  on
17           disc or distributed for use on other nodes.
18

EXPORTS

20       new(Title::string(),  OnPrintPage::function())  ->  wxPrintout:wxPrint‐
21       out()
22
23              @equiv new(Title, OnPrintPage, [])
24
25       new(Title::string(),   OnPrintPage::function(),   Opts::[Option])    ->
26       wxPrintout:wxPrintout()
27
28              Types:
29
30                 Option = {onPreparePrinting, OnPreparePrinting::function()} |
31                 {onBeginPrinting, OnBeginPrinting::function()} | {onEndPrint‐
32                 ing,  OnEndPrinting::function()} | {onBeginDocument, OnBegin‐
33                 Document::function()} | {onEndDocument,  OnEndDocument::func‐
34                 tion()} | {hasPage, HasPage::function()} | {getPageInfo, Get‐
35                 PageInfo::function()}
36
37              Creates a wxPrintout object with a callback fun  and  optionally
38              other callback funs.
39
40
41              OnPrintPage(This,Page) -> boolean()
42
43              OnPreparePrinting(This) -> term()
44
45              OnBeginPrinting(This) -> term()
46
47              OnEndPrinting(This) -> term()
48
49              OnBeginDocument(This,StartPage,EndPage) -> boolean()
50
51              OnEndDocument(This) -> term()
52
53              HasPage(This,Page)} -> boolean()
54
55              GetPageInfo(This) -> {MinPage::integer(), MaxPage::integer(),
56                                             PageFrom::integer(), PageTo::integer()}
57
58              The  This  argument  is  the wxPrintout object reference to this
59              object
60              NOTE: The callbacks may not call other processes.
61
62       getDC(This) -> wxDC:wxDC()
63
64              Types:
65
66                 This = wxPrintout()
67
68              See external documentation.
69
70       getPageSizeMM(This) -> {W::integer(), H::integer()}
71
72              Types:
73
74                 This = wxPrintout()
75
76              See external documentation.
77
78       getPageSizePixels(This) -> {W::integer(), H::integer()}
79
80              Types:
81
82                 This = wxPrintout()
83
84              See external documentation.
85
86       getPaperRectPixels(This) -> {X::integer(), Y::integer(),  W::integer(),
87       H::integer()}
88
89              Types:
90
91                 This = wxPrintout()
92
93              See external documentation.
94
95       getPPIPrinter(This) -> {X::integer(), Y::integer()}
96
97              Types:
98
99                 This = wxPrintout()
100
101              See external documentation.
102
103       getPPIScreen(This) -> {X::integer(), Y::integer()}
104
105              Types:
106
107                 This = wxPrintout()
108
109              See external documentation.
110
111       getTitle(This) -> unicode:charlist()
112
113              Types:
114
115                 This = wxPrintout()
116
117              See external documentation.
118
119       isPreview(This) -> boolean()
120
121              Types:
122
123                 This = wxPrintout()
124
125              See external documentation.
126
127       fitThisSizeToPaper(This, ImageSize) -> ok
128
129              Types:
130
131                 This = wxPrintout()
132                 ImageSize = {W::integer(), H::integer()}
133
134              See external documentation.
135
136       fitThisSizeToPage(This, ImageSize) -> ok
137
138              Types:
139
140                 This = wxPrintout()
141                 ImageSize = {W::integer(), H::integer()}
142
143              See external documentation.
144
145       fitThisSizeToPageMargins(This, ImageSize, PageSetupData) -> ok
146
147              Types:
148
149                 This = wxPrintout()
150                 ImageSize = {W::integer(), H::integer()}
151                 PageSetupData = wxPageSetupDialogData:wxPageSetupDialogData()
152
153              See external documentation.
154
155       mapScreenSizeToPaper(This) -> ok
156
157              Types:
158
159                 This = wxPrintout()
160
161              See external documentation.
162
163       mapScreenSizeToPage(This) -> ok
164
165              Types:
166
167                 This = wxPrintout()
168
169              See external documentation.
170
171       mapScreenSizeToPageMargins(This, PageSetupData) -> ok
172
173              Types:
174
175                 This = wxPrintout()
176                 PageSetupData = wxPageSetupDialogData:wxPageSetupDialogData()
177
178              See external documentation.
179
180       mapScreenSizeToDevice(This) -> ok
181
182              Types:
183
184                 This = wxPrintout()
185
186              See external documentation.
187
188       getLogicalPaperRect(This) -> {X::integer(), Y::integer(), W::integer(),
189       H::integer()}
190
191              Types:
192
193                 This = wxPrintout()
194
195              See external documentation.
196
197       getLogicalPageRect(This) -> {X::integer(), Y::integer(),  W::integer(),
198       H::integer()}
199
200              Types:
201
202                 This = wxPrintout()
203
204              See external documentation.
205
206       getLogicalPageMarginsRect(This,    PageSetupData)   ->   {X::integer(),
207       Y::integer(), W::integer(), H::integer()}
208
209              Types:
210
211                 This = wxPrintout()
212                 PageSetupData = wxPageSetupDialogData:wxPageSetupDialogData()
213
214              See external documentation.
215
216       setLogicalOrigin(This, X, Y) -> ok
217
218              Types:
219
220                 This = wxPrintout()
221                 X = integer()
222                 Y = integer()
223
224              See external documentation.
225
226       offsetLogicalOrigin(This, Xoff, Yoff) -> ok
227
228              Types:
229
230                 This = wxPrintout()
231                 Xoff = integer()
232                 Yoff = integer()
233
234              See external documentation.
235
236       destroy(This::wxPrintout()) -> ok
237
238              Destroys this object, do not use object again
239

AUTHORS

241       <>
242
243
244
245                                   wx 1.9.3                      wxPrintout(3)
Impressum