DocPrintout is a default wx.Printout
that prints the first
page of a document view.
__init__ |
Constructor. |
GetPageInfo |
Indicates that the DocPrintout only has a single page. |
GetView |
Returns the DocPrintout’s view. |
HasPage |
Indicates that the DocPrintout only has a single page. |
OnPrintPage |
Prints the first page of the view. |
DocPrintout
(wx.Printout)¶DocPrintout is a default wx.Printout
that prints the first
page of a document view.
__init__
(self, view, title="Printout")¶Constructor.
GetPageInfo
(self)¶Indicates that the DocPrintout only has a single page.
GetView
(self)¶Returns the DocPrintout’s view.
HasPage
(self, pageNum)¶Indicates that the DocPrintout only has a single page.
OnPrintPage
(self, page)¶Prints the first page of the view.