| Qyoto
    4.0.5
    Qyoto is a C# language binding for Qt | 
The QPrintEngine class defines an interface for how QPrinter interacts with a given printing subsystem. More...


| Public Types | |
| enum | PrintEnginePropertyKey { PPK_CollateCopies = 0, PPK_ColorMode = 1, PPK_CopyCount = 25, PPK_Creator = 2, PPK_CustomBase = 65280, PPK_CustomPaperSize = 23, PPK_DocumentName = 3, PPK_Duplex = 21, PPK_FontEmbedding = 19, PPK_FullPage = 4, PPK_NumberOfCopies = 5, PPK_Orientation = 6, PPK_OutputFileName = 7, PPK_PageMargins = 24, PPK_PageOrder = 8, PPK_PageRect = 9, PPK_PageSize = 10, PPK_PaperRect = 11, PPK_PaperSize = 10, PPK_PaperSource = 12, PPK_PaperSources = 22, PPK_PrinterName = 13, PPK_PrinterProgram = 14, PPK_Resolution = 15, PPK_SelectionOption = 16, PPK_SupportedResolutions = 17, PPK_SupportsMultipleCopies = 26, PPK_SuppressSystemPrintStatus = 20, PPK_WindowsPageSize = 18 } | 
| More... | |
| Public Member Functions | |
| QPrintEngine () | |
| QPrintEngine (QPrintEngine copy) | |
| virtual void | CreateProxy () | 
| abstract bool | Abort () | 
|  | |
| virtual System.IntPtr | GetPrinterDC () | 
| abstract int | Metric (QPaintDevice.PaintDeviceMetric arg1) | 
|  | |
| abstract bool | NewPage () | 
|  | |
| abstract QPrinter.PrinterState | PrinterState () | 
|  | |
| abstract object | Property (QPrintEngine.PrintEnginePropertyKey key) | 
|  | |
| virtual void | ReleasePrinterDC (System.IntPtr arg1) | 
| abstract void | SetProperty (QPrintEngine.PrintEnginePropertyKey key, object value) | 
|  | |
| new void | Dispose () | 
| Protected Member Functions | |
| QPrintEngine (System.Type dummy) | |
| Protected Attributes | |
| SmokeInvocation | interceptor | 
| Properties | |
| virtual System.IntPtr | SmokeObject  [get, set] | 
The QPrintEngine class defines an interface for how QPrinter interacts with a given printing subsystem.
The common case when creating your own print engine is to derive from both QPaintEngine and QPrintEngine. Various properties of a print engine are given with property() and set with setProperty().
See also QPaintEngine.
This enum is used to communicate properties between the print engine and QPrinter. A property may or may not be supported by a given print engine.
| PPK_CollateCopies | A boolean value indicating whether the printout should be collated or not. | 
| PPK_ColorMode | Refers to QPrinter::ColorMode, either color or monochrome. | 
| PPK_CopyCount | An integer specifying the number of copies to print. | 
| PPK_Creator | A string describing the document's creator. | 
| PPK_CustomBase | Basis for extension. | 
| PPK_CustomPaperSize | A QSizeF specifying a custom paper size in the QPrinter::Point unit. | 
| PPK_DocumentName | A string describing the document name in the spooler. | 
| PPK_Duplex | A boolean value indicating whether both sides of the printer paper should be used for the printout. | 
| PPK_FontEmbedding | A boolean value indicating whether data for the document's fonts should be embedded in the data sent to the printer. | 
| PPK_FullPage | A boolean describing if the printer should be full page or not. | 
| PPK_NumberOfCopies | Obsolete. An integer specifying the number of copies. Use PPK_CopyCount instead. | 
| PPK_Orientation | Specifies a QPrinter::Orientation value. | 
| PPK_OutputFileName | The output file name as a string. An empty file name indicates that the printer should not print to a file. | 
| PPK_PageMargins | A QList<QVariant> containing the left, top, right and bottom margin values. | 
| PPK_PageOrder | Specifies a QPrinter::PageOrder value. | 
| PPK_PageRect | A QRect specifying the page rectangle | 
| PPK_PageSize | Obsolete. Use PPK_PaperSize instead. | 
| PPK_PaperRect | A QRect specifying the paper rectangle. | 
| PPK_PaperSize | Specifies a QPrinter::PaperSize value. | 
| PPK_PaperSource | Specifies a QPrinter::PaperSource value. | 
| PPK_PaperSources | Specifies more than one QPrinter::PaperSource value. | 
| PPK_PrinterName | A string specifying the name of the printer. | 
| PPK_PrinterProgram | A string specifying the name of the printer program used for printing, | 
| PPK_Resolution | An integer describing the dots per inch for this printer. | 
| PPK_SelectionOption | |
| PPK_SupportedResolutions | A list of integer QVariants describing the set of supported resolutions that the printer has. | 
| PPK_SupportsMultipleCopies | A boolean value indicating whether or not the printer supports printing multiple copies in one job. | 
| PPK_SuppressSystemPrintStatus | Suppress the built-in dialog for showing printing progress. As of 4.1 this only has effect on Mac OS X where, by default, a status dialog is shown. | 
| PPK_WindowsPageSize | An integer specifying a DM_PAPER entry on Windows. | 
| 
 | protected | 
| QtGui.QPrintEngine.QPrintEngine | ( | ) | 
| QtGui.QPrintEngine.QPrintEngine | ( | QPrintEngine | copy | ) | 
| 
 | pure virtual | 
Instructs the print engine to abort the printing process. Returns true if successful; otherwise returns false.
| 
 | virtual | 
| new void QtGui.QPrintEngine.Dispose | ( | ) | 
| 
 | virtual | 
| 
 | pure virtual | 
Returns the metric for the given id.
| 
 | pure virtual | 
Instructs the print engine to start a new page. Returns true if the printer was able to create the new page; otherwise returns false.
| 
 | pure virtual | 
Returns the current state of the printer being used by the print engine.
| 
 | pure virtual | 
Returns the print engine's property specified by key.
See also setProperty().
| 
 | virtual | 
| 
 | pure virtual | 
Sets the print engine's property specified by key to the given value.
See also property().
| 
 | protected | 
| 
 | getset |