]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/bitmap.tex
Changed .vc makefiles to allow different configurations to co-exist (so library
[wxWidgets.git] / docs / latex / wx / bitmap.tex
1 \section{\class{wxBitmap}}\label{wxbitmap}
2
3 %\overview{Overview}{wxbitmapoverview}
4 %
5 This class encapsulates the concept of a platform-dependent bitmap,
6 either monochrome or colour.
7
8 \wxheading{Derived from}
9
10 \helpref{wxGDIObject}{wxgdiobject}\\
11 \helpref{wxObject}{wxobject}
12
13 \wxheading{Include files}
14
15 <wx/bitmap.h>
16
17 \wxheading{See also}
18
19 \helpref{wxBitmap overview}{wxbitmapoverview},
20 \helpref{supported bitmap file formats}{supportedbitmapformats},
21 \helpref{wxDC::Blit}{wxdcblit},
22 \helpref{wxIcon}{wxicon}, \helpref{wxCursor}{wxcursor}, \helpref{wxBitmap}{wxbitmap},
23 \helpref{wxMemoryDC}{wxmemorydc}
24
25 \latexignore{\rtfignore{\wxheading{Members}}}
26
27 \membersection{wxBitmap::wxBitmap}\label{wxbitmapconstr}
28
29 \func{}{wxBitmap}{\void}
30
31 Default constructor.
32
33 \func{}{wxBitmap}{\param{const wxBitmap\& }{bitmap}}
34
35 Copy constructor.
36
37 \func{}{wxBitmap}{\param{void*}{ data}, \param{int}{ type}, \param{int}{ width}, \param{int}{ height}, \param{int}{ depth = -1}}
38
39 Creates a bitmap from the given data, which can be of arbitrary type.
40
41 \func{}{wxBitmap}{\param{const char}{ bits[]}, \param{int}{ width}, \param{int}{ height}\\
42 \param{int}{ depth = 1}}
43
44 Creates a bitmap from an array of bits.
45
46 \func{}{wxBitmap}{\param{int}{ width}, \param{int}{ height}, \param{int}{ depth = -1}}
47
48 Creates a new bitmap.
49
50 \func{}{wxBitmap}{\param{const char**}{ bits}}
51
52 Creates a bitmap from XPM data.
53
54 \func{}{wxBitmap}{\param{const wxString\& }{name}, \param{long}{ type}}
55
56 Loads a bitmap from a file or resource.
57
58 \wxheading{Parameters}
59
60 \docparam{bits}{Specifies an array of pixel values.}
61
62 \docparam{width}{Specifies the width of the bitmap.}
63
64 \docparam{height}{Specifies the height of the bitmap.}
65
66 \docparam{depth}{Specifies the depth of the bitmap. If this is omitted, the display depth of the
67 screen is used.}
68
69 \docparam{name}{This can refer to a resource name under MS Windows, or a filename under MS Windows and X.
70 Its meaning is determined by the {\it type} parameter.}
71
72 \docparam{type}{May be one of the following:
73
74 \twocolwidtha{5cm}
75 \begin{twocollist}
76 \twocolitem{{\bf \indexit{wxBITMAP\_TYPE\_BMP}}}{Load a Windows bitmap file.}
77 \twocolitem{{\bf \indexit{wxBITMAP\_TYPE\_BMP\_RESOURCE}}}{Load a Windows bitmap from the resource database.}
78 \twocolitem{{\bf \indexit{wxBITMAP\_TYPE\_GIF}}}{Load a GIF bitmap file.}
79 \twocolitem{{\bf \indexit{wxBITMAP\_TYPE\_XBM}}}{Load an X bitmap file.}
80 \twocolitem{{\bf \indexit{wxBITMAP\_TYPE\_XPM}}}{Load an XPM bitmap file.}
81 \twocolitem{{\bf \indexit{wxBITMAP\_TYPE\_RESOURCE}}}{Load a Windows resource name.}
82 \end{twocollist}
83
84 The validity of these flags depends on the platform and wxWindows configuration.
85 If all possible wxWindows settings are used, the Windows platform supports BMP file, BMP resource,
86 XPM data, and XPM. Under wxGTK, the available formats are BMP file, XPM data, XPM file, and PNG file.
87 Under wxMotif, the available formats are XBM data, XBM file, XPM data, XPM file.}
88
89 \wxheading{Remarks}
90
91 The first form constructs a bitmap object with no data; an assignment or another member function such as Create
92 or LoadFile must be called subsequently.
93
94 The second and third forms provide copy constructors. Note that these do not copy the
95 bitmap data, but instead a pointer to the data, keeping a reference count. They are therefore
96 very efficient operations.
97
98 The fourth form constructs a bitmap from data whose type and value depends on
99 the value of the {\it type} argument.
100
101 The fifth form constructs a (usually monochrome) bitmap from an array of pixel values, under both
102 X and Windows.
103
104 The sixth form constructs a new bitmap.
105
106 The seventh form constructs a bitmap from pixmap (XPM) data, if wxWindows has been configured
107 to incorporate this feature.
108
109 To use this constructor, you must first include an XPM file. For
110 example, assuming that the file {\tt mybitmap.xpm} contains an XPM array
111 of character pointers called mybitmap:
112
113 \begin{verbatim}
114 #include "mybitmap.xpm"
115
116 ...
117
118 wxBitmap *bitmap = new wxBitmap(mybitmap);
119 \end{verbatim}
120
121 The eighth form constructs a bitmap from a file or resource. {\it name} can refer
122 to a resource name under MS Windows, or a filename under MS Windows and X.
123
124 Under Windows, {\it type} defaults to wxBITMAP\_TYPE\_BMP\_RESOURCE.
125 Under X, {\it type} defaults to wxBITMAP\_TYPE\_XPM.
126
127 \wxheading{See also}
128
129 \helpref{wxBitmap::LoadFile}{wxbitmaploadfile}
130
131 \membersection{wxBitmap::\destruct{wxBitmap}}
132
133 \func{}{\destruct{wxBitmap}}{\void}
134
135 Destroys the wxBitmap object and possibly the underlying bitmap data.
136 Because reference counting is used, the bitmap may not actually be
137 destroyed at this point - only when the reference count is zero will the
138 data be deleted.
139
140 If the application omits to delete the bitmap explicitly, the bitmap will be
141 destroyed automatically by wxWindows when the application exits.
142
143 Do not delete a bitmap that is selected into a memory device context.
144
145 \membersection{wxBitmap::AddHandler}\label{wxbitmapaddhandler}
146
147 \func{static void}{AddHandler}{\param{wxBitmapHandler*}{ handler}}
148
149 Adds a handler to the end of the static list of format handlers.
150
151 \docparam{handler}{A new bitmap format handler object. There is usually only one instance
152 of a given handler class in an application session.}
153
154 \wxheading{See also}
155
156 \helpref{wxBitmapHandler}{wxbitmaphandler}
157
158 \membersection{wxBitmap::CleanUpHandlers}
159
160 \func{static void}{CleanUpHandlers}{\void}
161
162 Deletes all bitmap handlers.
163
164 This function is called by wxWindows on exit.
165
166 \membersection{wxBitmap::Create}
167
168 \func{virtual bool}{Create}{\param{int}{ width}, \param{int}{ height}, \param{int}{ depth = -1}}
169
170 Creates a fresh bitmap. If the final argument is omitted, the display depth of
171 the screen is used.
172
173 \func{virtual bool}{Create}{\param{void*}{ data}, \param{int}{ type}, \param{int}{ width}, \param{int}{ height}, \param{int}{ depth = -1}}
174
175 Creates a bitmap from the given data, which can be of arbitrary type.
176
177 \wxheading{Parameters}
178
179 \docparam{width}{The width of the bitmap in pixels.}
180
181 \docparam{height}{The height of the bitmap in pixels.}
182
183 \docparam{depth}{The depth of the bitmap in pixels. If this is -1, the screen depth is used.}
184
185 \docparam{data}{Data whose type depends on the value of {\it type}.}
186
187 \docparam{type}{A bitmap type identifier - see \helpref{wxBitmap::wxBitmap}{wxbitmapconstr} for a list
188 of possible values.}
189
190 \wxheading{Return value}
191
192 TRUE if the call succeeded, FALSE otherwise.
193
194 \wxheading{Remarks}
195
196 The first form works on all platforms. The portability of the second form depends on the
197 type of data.
198
199 \wxheading{See also}
200
201 \helpref{wxBitmap::wxBitmap}{wxbitmapconstr}
202
203 \membersection{wxBitmap::FindHandler}
204
205 \func{static wxBitmapHandler*}{FindHandler}{\param{const wxString\& }{name}}
206
207 Finds the handler with the given name.
208
209 \func{static wxBitmapHandler*}{FindHandler}{\param{const wxString\& }{extension}, \param{long}{ bitmapType}}
210
211 Finds the handler associated with the given extension and type.
212
213 \func{static wxBitmapHandler*}{FindHandler}{\param{long }{bitmapType}}
214
215 Finds the handler associated with the given bitmap type.
216
217 \docparam{name}{The handler name.}
218
219 \docparam{extension}{The file extension, such as ``bmp".}
220
221 \docparam{bitmapType}{The bitmap type, such as wxBITMAP\_TYPE\_BMP.}
222
223 \wxheading{Return value}
224
225 A pointer to the handler if found, NULL otherwise.
226
227 \wxheading{See also}
228
229 \helpref{wxBitmapHandler}{wxbitmaphandler}
230
231 \membersection{wxBitmap::GetDepth}
232
233 \constfunc{int}{GetDepth}{\void}
234
235 Gets the colour depth of the bitmap. A value of 1 indicates a
236 monochrome bitmap.
237
238 \membersection{wxBitmap::GetHandlers}
239
240 \func{static wxList\&}{GetHandlers}{\void}
241
242 Returns the static list of bitmap format handlers.
243
244 \wxheading{See also}
245
246 \helpref{wxBitmapHandler}{wxbitmaphandler}
247
248 \membersection{wxBitmap::GetHeight}\label{wxbitmapgetheight}
249
250 \constfunc{int}{GetHeight}{\void}
251
252 Gets the height of the bitmap in pixels.
253
254 \membersection{wxBitmap::GetPalette}\label{wxbitmapgetpalette}
255
256 \constfunc{wxPalette*}{GetPalette}{\void}
257
258 Gets the associated palette (if any) which may have been loaded from a file
259 or set for the bitmap.
260
261 \wxheading{See also}
262
263 \helpref{wxPalette}{wxpalette}
264
265 \membersection{wxBitmap::GetMask}\label{wxbitmapgetmask}
266
267 \constfunc{wxMask*}{GetMask}{\void}
268
269 Gets the associated mask (if any) which may have been loaded from a file
270 or set for the bitmap.
271
272 \wxheading{See also}
273
274 \helpref{wxBitmap::SetMask}{wxbitmapsetmask}, \helpref{wxMask}{wxmask}
275
276 \membersection{wxBitmap::GetWidth}\label{wxbitmapgetwidth}
277
278 \constfunc{int}{GetWidth}{\void}
279
280 Gets the width of the bitmap in pixels.
281
282 \wxheading{See also}
283
284 \helpref{wxBitmap::GetHeight}{wxbitmapgetheight}
285
286 \membersection{wxBitmap::InitStandardHandlers}
287
288 \func{static void}{InitStandardHandlers}{\void}
289
290 Adds the standard bitmap format handlers, which, depending on wxWindows
291 configuration, can be handlers for Windows bitmap, Windows bitmap resource, and XPM.
292
293 This function is called by wxWindows on startup.
294
295 \wxheading{See also}
296
297 \helpref{wxBitmapHandler}{wxbitmaphandler}
298
299 \membersection{wxBitmap::InsertHandler}
300
301 \func{static void}{InsertHandler}{\param{wxBitmapHandler*}{ handler}}
302
303 Adds a handler at the start of the static list of format handlers.
304
305 \docparam{handler}{A new bitmap format handler object. There is usually only one instance
306 of a given handler class in an application session.}
307
308 \wxheading{See also}
309
310 \helpref{wxBitmapHandler}{wxbitmaphandler}
311
312 \membersection{wxBitmap::LoadFile}\label{wxbitmaploadfile}
313
314 \func{bool}{LoadFile}{\param{const wxString\&}{ name}, \param{long}{ type}}
315
316 Loads a bitmap from a file or resource.
317
318 \wxheading{Parameters}
319
320 \docparam{name}{Either a filename or a Windows resource name.
321 The meaning of {\it name} is determined by the {\it type} parameter.}
322
323 \docparam{type}{One of the following values:
324
325 \twocolwidtha{5cm}
326 \begin{twocollist}
327 \twocolitem{{\bf wxBITMAP\_TYPE\_BMP}}{Load a Windows bitmap file.}
328 \twocolitem{{\bf wxBITMAP\_TYPE\_BMP\_RESOURCE}}{Load a Windows bitmap from the resource database.}
329 \twocolitem{{\bf wxBITMAP\_TYPE\_GIF}}{Load a GIF bitmap file.}
330 \twocolitem{{\bf wxBITMAP\_TYPE\_XBM}}{Load an X bitmap file.}
331 \twocolitem{{\bf wxBITMAP\_TYPE\_XPM}}{Load an XPM bitmap file.}
332 \end{twocollist}
333
334 The validity of these flags depends on the platform and wxWindows configuration.}
335
336 \wxheading{Return value}
337
338 TRUE if the operation succeeded, FALSE otherwise.
339
340 \wxheading{Remarks}
341
342 A palette may be associated with the bitmap if one exists (especially for
343 colour Windows bitmaps), and if the code supports it. You can check
344 if one has been created by using the \helpref{GetPalette}{wxbitmapgetpalette} member.
345
346 \wxheading{See also}
347
348 \helpref{wxBitmap::SaveFile}{wxbitmapsavefile}
349
350 \membersection{wxBitmap::Ok}\label{wxbitmapok}
351
352 \constfunc{bool}{Ok}{\void}
353
354 Returns TRUE if bitmap data is present.
355
356 \membersection{wxBitmap::RemoveHandler}
357
358 \func{static bool}{RemoveHandler}{\param{const wxString\& }{name}}
359
360 Finds the handler with the given name, and removes it. The handler
361 is not deleted.
362
363 \docparam{name}{The handler name.}
364
365 \wxheading{Return value}
366
367 TRUE if the handler was found and removed, FALSE otherwise.
368
369 \wxheading{See also}
370
371 \helpref{wxBitmapHandler}{wxbitmaphandler}
372
373 \membersection{wxBitmap::SaveFile}\label{wxbitmapsavefile}
374
375 \func{bool}{SaveFile}{\param{const wxString\& }{name}, \param{int}{ type}, \param{wxPalette* }{palette = NULL}}
376
377 Saves a bitmap in the named file.
378
379 \wxheading{Parameters}
380
381 \docparam{name}{A filename. The meaning of {\it name} is determined by the {\it type} parameter.}
382
383 \docparam{type}{One of the following values:
384
385 \twocolwidtha{5cm}
386 \begin{twocollist}
387 \twocolitem{{\bf wxBITMAP\_TYPE\_BMP}}{Save a Windows bitmap file.}
388 \twocolitem{{\bf wxBITMAP\_TYPE\_GIF}}{Save a GIF bitmap file.}
389 \twocolitem{{\bf wxBITMAP\_TYPE\_XBM}}{Save an X bitmap file.}
390 \twocolitem{{\bf wxBITMAP\_TYPE\_XPM}}{Save an XPM bitmap file.}
391 \end{twocollist}
392
393 The validity of these flags depends on the platform and wxWindows configuration.}
394
395 \docparam{palette}{An optional palette used for saving the bitmap.}
396 % TODO: this parameter should
397 %probably be eliminated; instead the app should set the palette before saving.
398
399 \wxheading{Return value}
400
401 TRUE if the operation succeeded, FALSE otherwise.
402
403 \wxheading{Remarks}
404
405 Depending on how wxWindows has been configured, not all formats may be available.
406
407 \wxheading{See also}
408
409 \helpref{wxBitmap::LoadFile}{wxbitmaploadfile}
410
411 \membersection{wxBitmap::SetDepth}\label{wxbitmapsetdepth}
412
413 \func{void}{SetDepth}{\param{int }{depth}}
414
415 Sets the depth member (does not affect the bitmap data).
416
417 \wxheading{Parameters}
418
419 \docparam{depth}{Bitmap depth.}
420
421 \membersection{wxBitmap::SetHeight}\label{wxbitmapsetheight}
422
423 \func{void}{SetHeight}{\param{int }{height}}
424
425 Sets the height member (does not affect the bitmap data).
426
427 \wxheading{Parameters}
428
429 \docparam{height}{Bitmap height in pixels.}
430
431 \membersection{wxBitmap::SetMask}\label{wxbitmapsetmask}
432
433 \func{void}{SetMask}{\param{wxMask* }{mask}}
434
435 Sets the mask for this bitmap.
436
437 \wxheading{Remarks}
438
439 The bitmap object owns the mask once this has been called.
440
441 \wxheading{See also}
442
443 \helpref{wxBitmap::GetMask}{wxbitmapgetmask}, \helpref{wxMask}{wxmask}
444
445 \membersection{wxBitmap::SetOk}
446
447 \func{void}{SetOk}{\param{int }{isOk}}
448
449 Sets the validity member (does not affect the bitmap data).
450
451 \wxheading{Parameters}
452
453 \docparam{isOk}{Validity flag.}
454
455 \membersection{wxBitmap::SetPalette}\label{wxbitmapsetpalette}
456
457 \func{void}{SetPalette}{\param{wxPalette* }{palette}}
458
459 Sets the associated palette: it will be deleted in the wxBitmap
460 destructor, so if you do not wish it to be deleted automatically,
461 reset the palette to NULL before the bitmap is deleted.
462
463 \wxheading{Parameters}
464
465 \docparam{palette}{The palette to set.}
466
467 \wxheading{Remarks}
468
469 The bitmap object owns the palette once this has been called.
470
471 \wxheading{See also}
472
473 \helpref{wxPalette}{wxpalette}
474
475 \membersection{wxBitmap::SetWidth}
476
477 \func{void}{SetWidth}{\param{int }{width}}
478
479 Sets the width member (does not affect the bitmap data).
480
481 \wxheading{Parameters}
482
483 \docparam{width}{Bitmap width in pixels.}
484
485 \membersection{wxBitmap::operator $=$}
486
487 \func{wxBitmap\& }{operator $=$}{\param{const wxBitmap\& }{bitmap}}
488
489 Assignment operator. This operator does not copy any data, but instead
490 passes a pointer to the data in {\it bitmap} and increments a reference
491 counter. It is a fast operation.
492
493 \wxheading{Parameters}
494
495 \docparam{bitmap}{Bitmap to assign.}
496
497 \wxheading{Return value}
498
499 Returns 'this' object.
500
501 \membersection{wxBitmap::operator $==$}
502
503 \func{bool}{operator $==$}{\param{const wxBitmap\& }{bitmap}}
504
505 Equality operator. This operator tests whether the internal data pointers are
506 equal (a fast test).
507
508 \wxheading{Parameters}
509
510 \docparam{bitmap}{Bitmap to compare with 'this'}
511
512 \wxheading{Return value}
513
514 Returns TRUE if the bitmaps were effectively equal, FALSE otherwise.
515
516 \membersection{wxBitmap::operator $!=$}
517
518 \func{bool}{operator $!=$}{\param{const wxBitmap\& }{bitmap}}
519
520 Inequality operator. This operator tests whether the internal data pointers are
521 unequal (a fast test).
522
523 \wxheading{Parameters}
524
525 \docparam{bitmap}{Bitmap to compare with 'this'}
526
527 \wxheading{Return value}
528
529 Returns TRUE if the bitmaps were unequal, FALSE otherwise.
530
531 \section{\class{wxBitmapHandler}}\label{wxbitmaphandler}
532
533 \overview{Overview}{wxbitmapoverview}
534
535 This is the base class for implementing bitmap file loading/saving, and bitmap creation from data.
536 It is used within wxBitmap and is not normally seen by the application.
537
538 If you wish to extend the capabilities of wxBitmap, derive a class from wxBitmapHandler
539 and add the handler using \helpref{wxBitmap::AddHandler}{wxbitmapaddhandler} in your
540 application initialisation.
541
542 \wxheading{Derived from}
543
544 \helpref{wxObject}{wxobject}
545
546 \wxheading{Include files}
547
548 <wx/bitmap.h>
549
550 \wxheading{See also}
551
552 \helpref{wxBitmap}{wxbitmap}, \helpref{wxIcon}{wxicon}, \helpref{wxCursor}{wxcursor}
553
554 \latexignore{\rtfignore{\wxheading{Members}}}
555
556 \membersection{wxBitmapHandler::wxBitmapHandler}\label{wxbitmaphandlerconstr}
557
558 \func{}{wxBitmapHandler}{\void}
559
560 Default constructor. In your own default constructor, initialise the members
561 m\_name, m\_extension and m\_type.
562
563 \membersection{wxBitmapHandler::\destruct{wxBitmapHandler}}
564
565 \func{}{\destruct{wxBitmapHandler}}{\void}
566
567 Destroys the wxBitmapHandler object.
568
569 \membersection{wxBitmapHandler::Create}
570
571 \func{virtual bool}{Create}{\param{wxBitmap* }{bitmap}, \param{void*}{ data}, \param{int}{ type}, \param{int}{ width}, \param{int}{ height}, \param{int}{ depth = -1}}
572
573 Creates a bitmap from the given data, which can be of arbitrary type. The wxBitmap object {\it bitmap} is
574 manipulated by this function.
575
576 \wxheading{Parameters}
577
578 \docparam{bitmap}{The wxBitmap object.}
579
580 \docparam{width}{The width of the bitmap in pixels.}
581
582 \docparam{height}{The height of the bitmap in pixels.}
583
584 \docparam{depth}{The depth of the bitmap in pixels. If this is -1, the screen depth is used.}
585
586 \docparam{data}{Data whose type depends on the value of {\it type}.}
587
588 \docparam{type}{A bitmap type identifier - see \helpref{wxBitmapHandler::wxBitmapHandler}{wxbitmapconstr} for a list
589 of possible values.}
590
591 \wxheading{Return value}
592
593 TRUE if the call succeeded, FALSE otherwise (the default).
594
595 \membersection{wxBitmapHandler::GetName}
596
597 \constfunc{wxString}{GetName}{\void}
598
599 Gets the name of this handler.
600
601 \membersection{wxBitmapHandler::GetExtension}
602
603 \constfunc{wxString}{GetExtension}{\void}
604
605 Gets the file extension associated with this handler.
606
607 \membersection{wxBitmapHandler::GetType}
608
609 \constfunc{long}{GetType}{\void}
610
611 Gets the bitmap type associated with this handler.
612
613 \membersection{wxBitmapHandler::LoadFile}\label{wxbitmaphandlerloadfile}
614
615 \func{bool}{LoadFile}{\param{wxBitmap* }{bitmap}, \param{const wxString\&}{ name}, \param{long}{ type}}
616
617 Loads a bitmap from a file or resource, putting the resulting data into {\it bitmap}.
618
619 \wxheading{Parameters}
620
621 \docparam{bitmap}{The bitmap object which is to be affected by this operation.}
622
623 \docparam{name}{Either a filename or a Windows resource name.
624 The meaning of {\it name} is determined by the {\it type} parameter.}
625
626 \docparam{type}{See \helpref{wxBitmap::wxBitmap}{wxbitmapconstr} for values this can take.}
627
628 \wxheading{Return value}
629
630 TRUE if the operation succeeded, FALSE otherwise.
631
632 \wxheading{See also}
633
634 \helpref{wxBitmap::LoadFile}{wxbitmaploadfile}\\
635 \helpref{wxBitmap::SaveFile}{wxbitmapsavefile}\\
636 \helpref{wxBitmapHandler::SaveFile}{wxbitmaphandlersavefile}
637
638 \membersection{wxBitmapHandler::SaveFile}\label{wxbitmaphandlersavefile}
639
640 \func{bool}{SaveFile}{\param{wxBitmap* }{bitmap}, \param{const wxString\& }{name}, \param{int}{ type}, \param{wxPalette* }{palette = NULL}}
641
642 Saves a bitmap in the named file.
643
644 \wxheading{Parameters}
645
646 \docparam{bitmap}{The bitmap object which is to be affected by this operation.}
647
648 \docparam{name}{A filename. The meaning of {\it name} is determined by the {\it type} parameter.}
649
650 \docparam{type}{See \helpref{wxBitmap::wxBitmap}{wxbitmapconstr} for values this can take.}
651
652 \docparam{palette}{An optional palette used for saving the bitmap.}
653
654 \wxheading{Return value}
655
656 TRUE if the operation succeeded, FALSE otherwise.
657
658 \wxheading{See also}
659
660 \helpref{wxBitmap::LoadFile}{wxbitmaploadfile}\\
661 \helpref{wxBitmap::SaveFile}{wxbitmapsavefile}\\
662 \helpref{wxBitmapHandler::LoadFile}{wxbitmaphandlerloadfile}
663
664 \membersection{wxBitmapHandler::SetName}
665
666 \func{void}{SetName}{\param{const wxString\& }{name}}
667
668 Sets the handler name.
669
670 \wxheading{Parameters}
671
672 \docparam{name}{Handler name.}
673
674 \membersection{wxBitmapHandler::SetExtension}
675
676 \func{void}{SetExtension}{\param{const wxString\& }{extension}}
677
678 Sets the handler extension.
679
680 \wxheading{Parameters}
681
682 \docparam{extension}{Handler extension.}
683
684 \membersection{wxBitmapHandler::SetType}
685
686 \func{void}{SetType}{\param{long }{type}}
687
688 Sets the handler type.
689
690 \wxheading{Parameters}
691
692 \docparam{name}{Handler type.}
693
694