HiQPdf Documentation

PdfPrinter Class

Quickly Create High Quality PDFs
This class helps you to print a PDF document
Inheritance Hierarchy

SystemObject
  HiQPdfPdfPrinter

Namespace:  HiQPdf
Assembly:  HiQPdf (in HiQPdf.dll) Version: 15.0.0.0
Syntax

public class PdfPrinter

The PdfPrinter type exposes the following members.

Constructors

  NameDescription
Public methodPdfPrinter
The PDF Printer constructor
Top
Properties

  NameDescription
Public propertyDocumentName
The document name used print status and printer queue
Public propertyDPI
The print resolution
Public propertyHardMarginsEnabled
Controls if the printer hard margins are considered when the available space in page is calculated. The default value is true
Public propertyMaxRunTime
The maximum time to run the PDF print
Public propertyOwnerPassword
The password to open the PDF document in owner mode
Public propertyPageSettings
The page settings used to print the PDF document
Public propertyPdfInfo
Gets the object encapsulating the PDF document properties. This objects is populated after tool execution finished
Public propertyPrintColor
The print color
Public propertyPrinterSettings
The printer settings
Public propertySerialNumber
The serial number obtained after product purchase. This property can be set to null or can be left not set to enter evaluation mode
Public propertySilentPrinting
Controls if the printing is silent. The default value is false
Public propertyUserPassword
The password to open the PDF document in user mode
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 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 methodPdfPageCount(Byte)
Call this method to get the page count of a PDF document contained in a memory buffer
Public methodPdfPageCount(Stream)
Call this method to get the page count of a PDF document contained in a stream
Public methodPdfPageCount(String)
Call this method to get the page count of a PDF file
Public methodPrintPdf(Byte)
Call this method to print the pages of a PDF document contained in a memory buffer
Public methodPrintPdf(Stream)
Call this method to print the pages of a PDF document contained in a stream
Public methodPrintPdf(String)
Call this method to print the pages of a PDF file
Public methodPrintPdf(Byte, Int32)
Call this method to print the pages of a PDF document contained in a memory buffer starting from a PDF page number to the end of the PDF document
Public methodPrintPdf(Stream, Int32)
Call this method to print the pages of a PDF document contained in a stream starting from a PDF page number to the end of the PDF document
Public methodPrintPdf(String, Int32)
Call this method to print the pages of a PDF file starting from a PDF page number to the end of the PDF document
Public methodPrintPdf(Byte, Int32, Int32)
Call this method to print a range of pages of a PDF document contained in a memory buffer
Public methodPrintPdf(Stream, Int32, Int32)
Call this method to print a range of pages of a PDF document contained in a stream
Public methodPrintPdf(String, Int32, Int32)
Call this method to print a range of pages of a PDF file
Public methodSetRdaFilePath
Call this method with the fully qualified name of HiQPdf.rda when this file is installed in a different folder from the HiQPdf.dll folder
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events

  NameDescription
Public eventBeforePdfPagePrintEvent
The event is raised before the PDF is printed to allow changing the page settings
Public eventPdfPagePrintedEvent
The event is raised after the PDF was printed
Public eventPdfPagePrintEvent
The event is raised when a PDF is printed
Top
See Also

Reference