File: wx179.htm

package info (click to toggle)
wxwin2-doc 2.01-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 6,540 kB
  • ctags: 5,968
  • sloc: cpp: 15,157; makefile: 434; sh: 6
file content (38 lines) | stat: -rw-r--r-- 1,956 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<HTML>
<head><title>wxPrinterDC</title></head>

<BODY BGCOLOR=#FFFFFF>
<A NAME="wxprinterdc"></A><CENTER>
<A HREF="wx.htm"><img align=center src="contents.gif" BORDER=0 ALT="Contents"></A> <A HREF="wx22.htm#classref"><img align=center src="up.gif" BORDER=0 ALT="Up"></A> <A HREF="wx178.htm#wxprinter"><img align=center src="back.gif" BORDER=0 ALT="Previous"></A> <A HREF="wx180.htm#wxprintout"><img align=center src="forward.gif" BORDER=0 ALT="Next"></A> </CENTER><HR>

<H2>wxPrinterDC</H2>
<P>
A printer device context is specific to Windows, and allows access to
any printer with a Windows driver. See <A HREF="wx65.htm#wxdc">wxDC</A> for further information
on device contexts, and <A HREF="wx65.htm#wxdcgetsize">wxDC::GetSize</A> for advice on
achieving the correct scaling for the page.<P>
<B><FONT COLOR="#FF0000">Derived from</FONT></B><P>
<A HREF="wx65.htm#wxdc">wxDC</A><BR>

<A HREF="wx65.htm#wxdc">wxObject</A><P>
<B><FONT COLOR="#FF0000">Include files</FONT></B><P>
&lt;wx/dcprint.h&gt;<P>
<B><FONT COLOR="#FF0000">See also</FONT></B><P>
<A HREF="wx65.htm#wxdc">wxDC</A>, <A HREF="wx302.htm#printingoverview">Printing framework overview</A><P>
<B><FONT COLOR="#FF0000">Members</FONT></B><P>
<A HREF="#topic675">wxPrinterDC::wxPrinterDC</A><BR>
<P>

<HR>
<A NAME="topic675"></A>
<H3>wxPrinterDC::wxPrinterDC</H3>
<P>
<B></B> <B>wxPrinterDC</B>(<B>const wxString&amp; </B><I>driver</I>, <B>const wxString&amp; </B><I>device</I>, <B>const wxString&amp; </B><I>output</I>,
 <B>const bool </B><I>interactive = TRUE</I>, <B>int </B><I>orientation = wxPORTRAIT</I>)<P>
Constructor. With empty strings for the first three arguments, the default printer dialog is
displayed. <I>device</I> indicates the type of printer and <I>output</I>
is an optional file for printing to. The <I>driver</I> parameter is
currently unused.  Use the <I>Ok</I> member to test whether the
constructor was successful in creating a useable device context.<P>

</BODY></HTML>