PdfPrinter Class

This class helps you to print a PDF document

Definition

Namespace: HiQPdf
Assembly: HiQPdf.NetCore (in HiQPdf.NetCore.dll) Version: 16.0.0
C#
public class PdfPrinter
Inheritance
Object    PdfPrinter

Constructors

PdfPrinter The PDF Printer constructor

Properties

DocumentName The document name used print status and printer queue
DPI The print resolution
HardMarginsEnabled Controls if the printer hard margins are considered when the available space in page is calculated. The default value is true
MaxRunTime The maximum time to run the PDF print
OwnerPassword The password to open the PDF document in owner mode
PageSettings The page settings used to print the PDF document
PdfInfo Gets the object encapsulating the PDF document properties. This objects is populated after tool execution finished
PrintColor The print color
PrinterSettings The printer settings
SerialNumber The serial number obtained after product purchase. This property can be set to null or can be left not set to enter evaluation mode
SilentPrinting Controls if the printing is silent. The default value is false
UserPassword The password to open the PDF document in user mode

Methods

Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
PdfPageCount(Byte) Call this method to get the page count of a PDF document contained in a memory buffer
PdfPageCount(Stream) Call this method to get the page count of a PDF document contained in a stream
PdfPageCount(String) Call this method to get the page count of a PDF file
PrintPdf(Byte) Call this method to print the pages of a PDF document contained in a memory buffer
PrintPdf(Stream) Call this method to print the pages of a PDF document contained in a stream
PrintPdf(String) Call this method to print the pages of a PDF file
PrintPdf(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
PrintPdf(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
PrintPdf(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
PrintPdf(Byte, Int32, Int32) Call this method to print a range of pages of a PDF document contained in a memory buffer
PrintPdf(Stream, Int32, Int32) Call this method to print a range of pages of a PDF document contained in a stream
PrintPdf(String, Int32, Int32) Call this method to print a range of pages of a PDF file
SetRdaFilePath 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
ToString
(Inherited from Object)

Events

BeforePdfPagePrintEvent The event is raised before the PDF is printed to allow changing the page settings
PdfPagePrintedEvent The event is raised after the PDF was printed
PdfPagePrintEvent The event is raised when a PDF is printed

See Also