1 \section{\class{wxPostScriptDC
}}\label{wxpostscriptdc
}
3 This defines the wxWindows Encapsulated PostScript device context,
4 which can write PostScript files on any platform. See
\helpref{wxDC
}{wxdc
} for
5 descriptions of the member functions.
7 \wxheading{Derived from
}
10 \helpref{wxObject
}{wxobject
}
12 \membersection{wxPostScriptDC::wxPostScriptDC
}
14 \func{}{wxPostScriptDC
}{\param{const wxString\&
}{output
},
\param{bool
}{interactive = TRUE
},\\
15 \param{wxWindow *
}{parent
}}
17 Constructor.
{\it output
} is an optional file for printing to, and if
18 \rtfsp{\it interactive
} is TRUE a dialog box will be displayed for adjusting
19 various parameters.
{\it parent
} is the parent of the printer dialog box.
21 Use the
{\it Ok
} member to test whether the constructor was successful
22 in creating a useable device context.
24 See
\helpref{Printer settings
}{printersettings
} for functions to set and
25 get PostScript printing settings.
27 \membersection{wxPostScriptDC::GetStream
}
29 \func{ostream *
}{GetStream
}{\void}
31 Returns the stream currently being used to write PostScript output. Use this
32 to insert any PostScript code that is outside the scope of wxPostScriptDC.