This class encapsulates the necessary functionality to silently print PDF documents
Inheritance Hierarchy
EvoPdf.PdfPrintPdfPrint
Namespace: EvoPdf.PdfPrint
Assembly: EvoPdfPrint (in EvoPdfPrint.dll) Version: 10.0.0.0 (10.0.0.0)
Syntax
The PdfPrint type exposes the following members.
Constructors
Name | Description | |
---|---|---|
PdfPrint |
The PdfPrint class constructor
|
Properties
Name | Description | |
---|---|---|
Color |
The PDF printing color. The default value is Color
| |
DefaultPageSettings |
The page settings that are used as defaults for all pages to be printed
| |
DocumentName |
The document name to display in a print status dialog box or printer queue while printing the document
| |
ImpersonationOptions |
The impersonation options used during tool execution
| |
LicenseKey |
Gets or sets the license key string received from vendor.
If this property is null the tool will automatically enter in evaluation mode
| |
OwnerPassword |
The owner password to be used to open a password protected PDF document
| |
PdfDocumentInfo |
Gets the object encapsulating the PDF document properties. This objects is populated after
tool execution finished
| |
PdfToolFullPath |
Sets the full path of the .dat helper file. By default this file is expected to be found
in the same folder with .dll assembly.
| |
PrinterSettings |
The settings of the printer that prints the document
| |
Resolution |
The PDF printing resolution in DPI. The default value is 300
| |
RunTimeoutSec |
The maximum time allowed for this tool to run
| |
ShowStatusDialog |
Set this property to false to disable the status dialog during printing. The default value is true
| |
UseHardMargins |
Set this property to false to disable the usage of printer hard margins when calculating the space available for printing in paper.
The default value is true
| |
UserPassword |
The user password to be used to open a password protected PDF document
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetPageCount(Byte) |
Gets the number of PDF pages of a PDF document
| |
GetPageCount(Stream) |
Gets the number of pages of a PDF document in a stream
| |
GetPageCount(String) |
Gets the number of PDF pages of a PDF file
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Print(Byte) |
Prints all the pages in a PDF document using the current printer and page settings
| |
Print(Stream) |
Prints all the pages of PDF document in a stream using the current printer and page settings
| |
Print(String) |
Prints all the pages of a PDF file using the current printer and page settings
| |
Print(Byte, Int32) |
Prints the pages of a PDF document starting from a given PDF page number to the end of the PDF document
using the current printer and page settings
| |
Print(Stream, Int32) |
Prints the pages of a PDF document in a stream starting from a given PDF page number to the end of the PDF document
using the current printer and page settings
| |
Print(String, Int32) |
Prints the pages of a PDF file starting from a given PDF page number to the end using the current printer and page settings
| |
Print(Byte, Int32, Int32) |
Prints a range of pages of a PDF document using the current printer and page settings
| |
Print(Stream, Int32, Int32) |
Prints a range of pages of a PDF document in a stream using the current printer and page settings
| |
Print(String, Int32, Int32) |
Prints a range of pages of a PDF file using the current printer and page settings
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Events
Name | Description | |
---|---|---|
PagePrintedEvent |
The event which is raised right after the PDF page has been printed. In the event handler you can end or cancel printing job
| |
PagePrintingEvent |
The event which is raised right before printing the PDF page. In the event handler you can end or cancel printing job
| |
PreparePagePrintingEvent |
The event which is raised immediately before each PagePrintingEvent event. In the event handler you can set the page settings for
the page being printed, cancel or end printing job
|
See Also