wx.lib.docview.DocPrintout¶DocPrintout is a default wx.Printout that prints the first
page of a document view.
Class Hierarchy¶
Inheritance diagram for class DocPrintout:

Known Superclasses¶
Methods Summary¶Constructor. |
|
Indicates that the DocPrintout only has a single page. |
|
Returns the DocPrintout’s view. |
|
Indicates that the DocPrintout only has a single page. |
|
Prints the first page of the view. |
Class API¶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.