PdfPrinter Class |
Namespace: SelectPdf
The PdfPrinter type exposes the following members.
Name | Description | |
---|---|---|
PdfPrinter |
Constructs a PdfPrinter object.
|
Name | Description | |
---|---|---|
ColorSpace |
The color space of the rasterized pdf pages. Default value is RGB.
| |
CustomScalePercentage |
Percentage for custom content scaling. This value is taken into account only when PageSizing is set to CustomScale. Default value is 100.
| |
DocumentInformation |
PDF document information. This property is populated after the requested operation (GetText, GetHtml, etc) is finished.
(Inherited from PdfTool.) | |
DocumentName |
Gets or sets the document name to display (for example, in a print status dialog box or printer queue) while printing the document.
| |
EndPageNumber |
The page number where the current operation will end on the PDF file.
The default value is 0 which means that all the PDF document is processed starting from the StartPageNumber page.
(Inherited from PdfTool.) | |
PageOrientation |
Defines printed page orientation. The default value is Auto and the page orientation is automatically determined.
| |
PageSettings |
Access printed page settings.
| |
PageSizing |
Defines the page sizing for printing. The default value is Fit and the content is resized to cover the paper as much as possible.
| |
PrinterSettings |
Access printer settings.
| |
Resolution |
The resolution of the rasterized pdf pages in DPI. Default value is 300.
| |
ShowPrintProgress |
Display print progress window. Default value is False and the PDF document is silently printed.
| |
StartPageNumber |
The page number from where the current operation will start on the PDF file.
The default value is 1 which means that the operation will start from the first page.
(Inherited from PdfTool.) | |
Timeout |
Timeout in seconds for the current operation. Default value is 600 seconds.
(Inherited from PdfTool.) | |
UserPassword |
The user password to be used to open the PDF document for reading. The default value is null, which means that
no password will be used to open the PDF document.
(Inherited from PdfTool.) |
Name | Description | |
---|---|---|
GetInfo |
Gets the information of the loaded PDF document.
(Inherited from PdfTool.) | |
GetPageCount |
Gets the number of pages in the loaded PDF document.
(Inherited from PdfTool.) | |
Load(Byte) |
Loads a pdf document from a byte array.
(Inherited from PdfTool.) | |
Load(Stream) |
Loads a pdf document from the specified stream.
(Inherited from PdfTool.) | |
Load(String) |
Loads an existing pdf file.
(Inherited from PdfTool.) | |
Load(Byte, String) |
Loads a password protected pdf document from a byte array.
(Inherited from PdfTool.) | |
Load(Stream, String) |
Loads a pdf document from a stream containing a password protected pdf document.
(Inherited from PdfTool.) | |
Load(String, String) |
Loads an existing password protected pdf file.
(Inherited from PdfTool.) | |
Send current PDF document to current printer using current page settings.
|
Name | Description | |
---|---|---|
AfterPagePrinting |
Occurs after each page print. It can be used to cancel the printing of the rest of the document and also to add content to the printed page.
| |
BeforePagePrinting |
Occurs right before each page print. It can be used to cancel the printing starting with the current page.
|