DocumentPrinter Methods
Free Trial Web API version Licensing Request A Quote
HAVE QUESTIONS OR NEED HELP?SUBMIT THE SUPPORT REQUEST FORM or write email toSUPPORT@BYTESCOUT.COM
The DocumentPrinter type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Dispose | Releases the unmanaged resources used by the instance and optionally releases the managed resources. | |
| Equals | (Inherited from Object.) | |
| Finalize | (Inherited from Object.) | |
| GetHashCode | (Inherited from Object.) | |
| GetType | (Inherited from Object.) | |
| LoadDocumentFromFile | Loads PDF document from specified file. | |
| LoadDocumentFromStream | Loads PDF document from provided stream. | |
| MemberwiseClone | (Inherited from Object.) | |
| PrintDocument(String) | Prints all document pages to specified printer. | |
| PrintDocument(String, Int32) | Prints selected pages to specified printer. | |
| PrintDocument(String, String) | Prints selected pages to specified printer. | |
| PrintDocument(String, Int32, Int32) | Prints selected pages to specified printer. | |
| SetDuplex | Sets duplex mode by predefined name. The predefined names of duplex modes should correspond to the Duplex enumeration. | |
| SetMargins | Sets the margins for the printed page. | |
| SetPaperSize | Sets paper format by predefined name, such as "A4" or "Letter". The predefined names of paper formats should correspond to the PaperKind enumeration. | |
| SetPaperSource | Sets paper source by predefined name. The names of predefined paper sources should correspond to the PaperSourceKind enumeration. | |
| SetPrinterResolution(String) | Sets printer resolution by predefined name such as "High" or "Draft". The names of predefined resolutions should correspond to the PrinterResolutionKind enumeration. | |
| SetPrinterResolution(Int32, Int32) | Sets custom printer resolution. | |
| ToString | (Inherited from Object.) |
See Also