Winnovative PDF Print Documentation

PdfPrint Class

Winnovative PDF Print
This class encapsulates the necessary functionality to silently print PDF documents
Inheritance Hierarchy

SystemObject
  Winnovative.PdfPrintPdfPrint

Namespace:  Winnovative.PdfPrint
Assembly:  WnvPdfPrint (in WnvPdfPrint.dll) Version: 10.0.0.0 (10.0.0.0)
Syntax

public class PdfPrint

The PdfPrint type exposes the following members.

Constructors

  NameDescription
Public methodPdfPrint
The PdfPrint class constructor
Top
Properties

  NameDescription
Public propertyColor
The PDF printing color. The default value is Color
Public propertyDefaultPageSettings
The page settings that are used as defaults for all pages to be printed
Public propertyDocumentName
The document name to display in a print status dialog box or printer queue while printing the document
Public propertyImpersonationOptions
The impersonation options used during tool execution
Public propertyLicenseKey
Gets or sets the license key string received from vendor. If this property is null the tool will automatically enter in evaluation mode
Public propertyOwnerPassword
The owner password to be used to open a password protected PDF document
Public propertyPdfDocumentInfo
Gets the object encapsulating the PDF document properties. This objects is populated after tool execution finished
Public propertyPdfToolFullPath
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.
Public propertyPrinterSettings
The settings of the printer that prints the document
Public propertyResolution
The PDF printing resolution in DPI. The default value is 300
Public propertyRunTimeoutSec
The maximum time allowed for this tool to run
Public propertyShowStatusDialog
Set this property to false to disable the status dialog during printing. The default value is true
Public propertyUseHardMargins
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
Public propertyUserPassword
The user password to be used to open a password protected PDF document
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetPageCount(Byte)
Gets the number of PDF pages of a PDF document
Public methodGetPageCount(Stream)
Gets the number of pages of a PDF document in a stream
Public methodGetPageCount(String)
Gets the number of PDF pages of a PDF file
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPrint(Byte)
Prints all the pages in a PDF document using the current printer and page settings
Public methodPrint(Stream)
Prints all the pages of PDF document in a stream using the current printer and page settings
Public methodPrint(String)
Prints all the pages of a PDF file using the current printer and page settings
Public methodPrint(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
Public methodPrint(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
Public methodPrint(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
Public methodPrint(Byte, Int32, Int32)
Prints a range of pages of a PDF document using the current printer and page settings
Public methodPrint(Stream, Int32, Int32)
Prints a range of pages of a PDF document in a stream using the current printer and page settings
Public methodPrint(String, Int32, Int32)
Prints a range of pages of a PDF file using the current printer and page settings
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events

  NameDescription
Public eventPagePrintedEvent
The event which is raised right after the PDF page has been printed. In the event handler you can end or cancel printing job
Public eventPagePrintingEvent
The event which is raised right before printing the PDF page. In the event handler you can end or cancel printing job
Public eventPreparePagePrintingEvent
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
Top
See Also

Reference