PdfPrint
Inheritance Hierarchy
PdfPrintingNetPdfPrint
Namespace: PdfPrintingNet
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.1.1.0 (5.1.1.0)
Syntax
The PdfPrint type exposes the following members.
Constructors
Name | Description | |
---|---|---|
PdfPrint |
Creates the PDFPrint object. If company name or license key is empty string or company name / license keys are not valid, it will behave as demo.
|
Methods
Name | Description | |
---|---|---|
CancelCurrentPrinting |
Cancels the current printing.
| |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetBitmapFromPdfPage(Byte, Int32) |
Returns bitmap from the pdf page.
| |
GetBitmapFromPdfPage(String, Int32) |
Returns bitmap from the pdf page.
| |
GetBitmapFromPdfPage(PdfPrintDocument, PdfPrintImageSettingsBmp) |
Returns bitmap from the pdf page.
| |
GetBitmapFromPdfPage(Byte, Int32, Int32) |
Returns bitmap from the pdf page.
| |
GetBitmapFromPdfPage(String, Int32, Int32) |
Returns bitmap from the pdf page.
| |
GetBitmapFromPdfPage(Byte, Int32, Int32, Int32) |
Returns bitmap from the pdf page.
| |
GetBitmapFromPdfPage(Byte, Int32, Int32, String) |
Returns bitmap from the pdf page.
| |
GetBitmapFromPdfPage(String, Int32, Int32, Int32) |
Returns bitmap from the pdf page.
| |
GetBitmapFromPdfPage(String, Int32, Int32, String) |
Returns bitmap from the pdf page.
| |
GetBitmapFromPdfPage(Byte, Int32, Int32, Int32, Int32) |
Returns bitmap from the pdf page.
| |
GetBitmapFromPdfPage(Byte, Int32, Int32, String, Boolean) |
Returns bitmap from the pdf page.
| |
GetBitmapFromPdfPage(String, Int32, Int32, Int32, Int32) |
Returns bitmap from the pdf page.
| |
GetBitmapFromPdfPage(String, Int32, Int32, String, Boolean) |
Returns bitmap from the pdf page.
| |
GetBitmapFromPdfPage(Byte, Int32, Int32, String, Int32, Int32) |
Returns bitmap from the pdf page.
| |
GetBitmapFromPdfPage(String, Int32, Int32, String, Int32, Int32) |
Returns bitmap from the pdf page.
| |
GetBitmapFromPdfPage(Byte, Int32, Int32, String, Boolean, Int32, Int32) |
Returns bitmap from the pdf page.
| |
GetBitmapFromPdfPage(String, Int32, Int32, String, Boolean, Int32, Int32) |
Returns bitmap from the pdf page.
| |
GetBitmapsFromPdfPages |
Returns bitmaps from the pdf pages.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetLibraryVersion |
Get library version number. Useful in cases where we need library version number and library is merged with some tool with another binary.
| |
GetNumberOfPages(Byte) |
Returns the number of pages in the PDF document.
| |
GetNumberOfPages(String) |
Returns the number of pages in the PDF file.
PDF file name Return ValueType:Number of pages in the PDF file, exception in case of error. | |
GetNumberOfPages(Byte, String) |
Returns the number of pages in the PDF document.
| |
GetNumberOfPages(String, String) |
Returns the number of pages in the PDF file.
| |
GetPdfPageSize(Byte, Int32) |
Returns the width and height(in inches) of the page in the PDF file.
| |
GetPdfPageSize(String, Int32) |
Returns the width and height(in inches) of the page in the PDF file.
| |
GetPdfPageSize(Byte, Int32, String) |
Returns the width and height(in inches) of the page in the PDF file.
| |
GetPdfPageSize(String, Int32, String) |
Returns the width and height(in inches) of the page in the PDF file.
| |
GetText(Byte, Int32) |
Return text from PDF page.
| |
GetText(String, Int32) |
Return text from PDF page.
| |
GetText(Byte, String, Int32) |
Return text from PDF page.
| |
GetText(String, String, Int32) |
Return text from PDF page.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsPasswordProtected(Byte) |
Checks if the PDF file is password protected.
| |
IsPasswordProtected(String) |
Checks if the PDF file is password protected.
| |
IsSupportedFile(Byte) |
Checks if the file is a valid PDF.
| |
IsSupportedFile(String) |
Checks if the file is a valid PDF
| |
IsValidPassword(Byte, String) |
Checks if the password is valid.
| |
IsValidPassword(String, String) |
Checks if the password is valid.
| |
LoadDocument(Byte, String) |
Loads the specified stream into an in-memory PdfPrintDocument document.
| |
LoadDocument(String, String) |
Loads the specified file into an in-memory PdfPrintDocument document.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnDocumentPrintBegin |
Raises the DocumentPrintBegin event.
| |
OnDocumentPrintEnd |
Raises the DocumentPrintEnd event.
| |
OnDocumentPrintPageBegin |
Raises the DocumentPrintPageBegin event.
| |
OnDocumentPrintPageEnd |
Raises the DocumentPrintPageEnd event.
| |
OnMultiDocumentPageSettingsQuery |
Raises the OnMultiDocumentPageSettingsQuery
| |
OnMultiDocumentPrintBegin |
Raises the MultiDocumentPrintBegin event.
| |
OnMultiDocumentPrintEnd |
Raises the MultiDocumentPrintEnd event.
| |
OnMultiDocumentPrintPageBegin |
Raises the MultiDocumentPrintPageBegin event.
| |
OnMultiDocumentPrintPageEnd |
Raises the MultiDocumentPrintPageEnd event.
| |
OnPageSettingsQuery |
Raises the OnPageSettingsQuery
| |
OnSingleDocumentPrintBegin |
Raises the SingleDocumentPrintBegin event.
| |
OnSingleDocumentPrintEnd |
Raises the SingleDocumentPrintEnd event.
| |
Print(Byte) |
Prints the PDF file from byte array
| |
Print(String) |
Prints the PDF file
| |
Print(MultiPdfDocumentPrintSettings) |
Prints one or more PDF file as single print job
| |
Print(PdfPrintDocument) |
Prints the PDF file
| |
Print(Byte, PdfPrintDocumentPrintSettings) |
Prints the PDF file
| |
Print(Byte, PdfWatermark) |
Prints the PDF file from byte array
| |
Print(Byte, Boolean) |
Prints the PDF file from byte array
| |
Print(Byte, PrinterSettings) |
Prints the PDF file
| |
Print(Byte, String) |
Prints the PDF file from byte array
| |
Print(String, PdfPrintDocumentPrintSettings) |
Prints the PDF file
| |
Print(String, PdfWatermark) |
Prints the PDF file
| |
Print(String, Boolean) |
Prints the PDF file
| |
Print(String, PrinterSettings) |
Prints the PDF file
| |
Print(String, String) |
Prints the PDF file
| |
Print(PdfPrintDocument, PdfPrintDocumentPrintSettings) |
Prints the PDF file
| |
Print(Byte, PdfWatermark, String) |
Prints the PDF file from byte array
| |
Print(Byte, PrinterSettings, PdfWatermark) |
Prints the PDF file
| |
Print(Byte, PrinterSettings, Boolean) |
Prints the PDF file
| |
Print(Byte, PrinterSettings, String) |
Prints the PDF file
| |
Print(Byte, String, PdfPrintDocumentPrintSettings) |
Prints the PDF file
| |
Print(Byte, String, PdfWatermark) |
Prints the PDF file from byte array
| |
Print(Byte, String, Boolean) |
Prints the PDF file from byte array
| |
Print(Byte, String, String) |
Prints the PDF file from byte array
| |
Print(String, PdfWatermark, String) |
Prints the PDF file
| |
Print(String, PrinterSettings, PdfWatermark) |
Prints the PDF file
| |
Print(String, PrinterSettings, Boolean) |
Prints the PDF file
| |
Print(String, PrinterSettings, String) |
Prints the PDF file
| |
Print(String, String, PdfPrintDocumentPrintSettings) |
Prints the PDF file
| |
Print(String, String, PdfWatermark) |
Prints the PDF file
| |
Print(String, String, Boolean) |
Prints the PDF file
| |
Print(String, String, String) |
Prints the PDF file
| |
Print(Byte, PrinterSettings, PdfWatermark, String) |
Prints the PDF file
| |
Print(Byte, PrinterSettings, String, PdfWatermark) |
Prints the PDF file
| |
Print(Byte, PrinterSettings, String, Boolean) |
Prints the PDF file
| |
Print(Byte, PrinterSettings, String, String) |
Prints the PDF file
| |
Print(Byte, String, String, PdfWatermark) |
Prints the PDF file from byte array
| |
Print(Byte, String, String, Boolean) |
Prints the PDF file from byte array
| |
Print(String, PrinterSettings, PdfWatermark, String) |
Prints the PDF file
| |
Print(String, PrinterSettings, String, PdfWatermark) |
Prints the PDF file
| |
Print(String, PrinterSettings, String, Boolean) |
Prints the PDF file
| |
Print(String, PrinterSettings, String, String) |
Prints the PDF file
| |
Print(String, String, PdfWatermark, String) |
Prints the PDF file
| |
Print(Byte, PrinterSettings, String, String, PdfWatermark) |
Prints the PDF file
| |
Print(Byte, PrinterSettings, String, String, Boolean) |
Prints the PDF file
| |
Print(String, PrinterSettings, String, PdfWatermark, String) |
Prints the PDF file
| |
PrintWithAdobe(String) |
Prints the PDF file by sillently using Adobe
NOTE: Will not work if not used in Windows desktop environment
| |
PrintWithAdobe(String, PrinterSettings) |
Prints the PDF file by sillently using Adobe
NOTE: Will not work if not used in Windows desktop environment
| |
PrintWithAdobe(String, String) |
Prints the PDF file by sillently using Adobe
NOTE: Will not work if not used in Windows desktop environment
| |
PrintWithAdobe(String, PrinterSettings, String) |
Prints the PDF file by sillently using Adobe
NOTE: Will not work if not used in Windows desktop environment
| |
SavePdfPageAsImage(Byte, String, Int32) |
Saves pdf page as an image. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPageAsImage(String, String, Int32) |
Saves pdf page as an image. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPageAsImage(PdfPrintDocument, String, PdfPrintImageSettings) |
Saves pdf page as an image. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPageAsImage(Byte, String, Int32, Int32) |
Saves pdf page as an image. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPageAsImage(String, String, Int32, Int32) |
Saves pdf page as an image. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPageAsImage(Byte, String, Int32, Int32, Single, Single) |
Saves pdf page as an image. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPageAsImage(String, String, Int32, Int32, Single, Single) |
Saves pdf page as an image. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPageAsImage(Byte, String, Int32, Int32, Single, Single, PdfPrintColorType) |
Saves pdf page as an image. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPageAsImage(String, String, Int32, Int32, Single, Single, PdfPrintColorType) |
Saves pdf page as an image. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPageAsImage(Byte, String, Int32, Int32, Single, Single, PdfPrintColorType, Int64) |
Saves pdf page as an image. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPageAsImage(String, String, Int32, Int32, Single, Single, PdfPrintColorType, Int32) |
Saves pdf page as an image. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPageAsImage(Byte, String, Int32, Int32, Single, Single, PdfPrintColorType, Int64, String) |
Saves pdf page as an image. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPageAsImage(String, String, Int32, Int32, Single, Single, PdfPrintColorType, Int32, String) |
Saves pdf page as an image. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPageAsImage(Byte, String, Int32, Int32, Single, Single, PdfPrintColorType, Int64, String, PdfPrintImageType) |
Saves pdf page as an image. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPageAsImage(String, String, Int32, Int32, Single, Single, PdfPrintColorType, Int32, String, PdfPrintImageType) |
Saves pdf page as an image. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPageAsImage(Byte, String, Int32, Int32, Single, Single, PdfPrintColorType, Int64, String, PdfPrintImageType, Boolean) |
Saves pdf page as an image. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPageAsImage(String, String, Int32, Int32, Single, Single, PdfPrintColorType, Int64, String, PdfPrintImageType, Boolean) |
Saves pdf page as an image. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPageAsImage(Byte, String, Int32, Int32, Single, Single, PdfPrintColorType, Int64, String, PdfPrintImageType, Boolean, PdfPrintColorBitsType) |
Saves pdf page as an image. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPageAsImage(String, String, Int32, Int32, Single, Single, PdfPrintColorType, Int64, String, PdfPrintImageType, Boolean, PdfPrintColorBitsType) |
Saves pdf page as an image. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPagesAsImages(Byte, String) |
Saves all pdf pages as images. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPagesAsImages(String, String) |
Saves all pdf pages as images. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPagesAsImages(Byte, String, Int32) |
Saves pdf pages as images from page. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPagesAsImages(String, String, Int32) |
Saves multiple pdf pages as images starting with fromPage. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPagesAsImages(PdfPrintDocument, String, PdfPrintImageSettings) |
Saves multiple pdf pages as images. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPagesAsImages(Byte, String, Int32, Int32) |
Saves multiple pdf pages as images. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPagesAsImages(String, String, Int32, Int32) |
Saves multiple pdf pages as images in the range fromPage and toPage. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPagesAsImages(Byte, String, Int32, Int32, Int32) |
Saves multiple pdf pages as images. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPagesAsImages(String, String, Int32, Int32, Int32) |
Saves multiple pdf pages as images. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPagesAsImages(Byte, String, Int32, Int32, Int32, Single, Single) |
Saves multiple pdf pages as images. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPagesAsImages(String, String, Int32, Int32, Int32, Single, Single) |
Saves multiple pdf pages as images. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPagesAsImages(Byte, String, Int32, Int32, Int32, Single, Single, PdfPrintColorType) |
Saves multiple pdf pages as images. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPagesAsImages(String, String, Int32, Int32, Int32, Single, Single, PdfPrintColorType) |
Saves multiple pdf pages as images. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPagesAsImages(Byte, String, Int32, Int32, Int32, Single, Single, PdfPrintColorType, Int64) |
Saves multiple pdf pages as images. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPagesAsImages(String, String, Int32, Int32, Int32, Single, Single, PdfPrintColorType, Int64) |
Saves multiple pdf pages as images. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPagesAsImages(Byte, String, Int32, Int32, Int32, Single, Single, PdfPrintColorType, Int64, String) |
Saves multiple pdf pages as images. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPagesAsImages(String, String, Int32, Int32, Int32, Single, Single, PdfPrintColorType, Int64, String) |
Saves multiple pdf pages as images. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPagesAsImages(Byte, String, Int32, Int32, Int32, Single, Single, PdfPrintColorType, Int64, String, PdfPrintImageType) |
Saves multiple pdf pages as images. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPagesAsImages(String, String, Int32, Int32, Int32, Single, Single, PdfPrintColorType, Int64, String, PdfPrintImageType) |
Saves multiple pdf pages as images. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPagesAsImages(Byte, String, Int32, Int32, Int32, Single, Single, PdfPrintColorType, Int64, String, PdfPrintImageType, PdfPrintColorBitsType) |
Saves multiple pdf pages as images. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPagesAsImages(String, String, Int32, Int32, Int32, Single, Single, PdfPrintColorType, Int64, String, PdfPrintImageType, PdfPrintColorBitsType) |
Saves multiple pdf pages as images. Supported image types are BMP, TIFF, GIF, JPG/JPEG and PNG.
| |
SavePdfPagesAsMultiPageTiff(Byte, String) |
Saves all PDF pages in one multipage tiff file.
| |
SavePdfPagesAsMultiPageTiff(String, String) |
Saves all PDF pages in one multipage tiff file.
| |
SavePdfPagesAsMultiPageTiff(Byte, String, Int32) |
Saves PDF pages starting with fromPage in one multipage tiff file.
| |
SavePdfPagesAsMultiPageTiff(String, String, Int32) |
Saves PDF pages starting with fromPage in one multipage tiff file.
| |
SavePdfPagesAsMultiPageTiff(PdfPrintDocument, String, PdfPrintImageSettingsTiff) |
Saves PDF pages in one multipage tiff file.
| |
SavePdfPagesAsMultiPageTiff(Byte, String, Int32, Int32) |
Saves PDF pages in one multipage tiff file.
| |
SavePdfPagesAsMultiPageTiff(String, String, Int32, Int32) |
Saves PDF pages in one multipage tiff file.
| |
SavePdfPagesAsMultiPageTiff(Byte, String, Int32, Int32, Int32) |
Saves PDF pages in one multipage tiff file.
| |
SavePdfPagesAsMultiPageTiff(String, String, Int32, Int32, Int32) |
Saves PDF pages in one multipage tiff file.
| |
SavePdfPagesAsMultiPageTiff(Byte, String, Int32, Int32, Int32, Single, Single) |
Saves PDF pages in one multipage tiff file.
| |
SavePdfPagesAsMultiPageTiff(String, String, Int32, Int32, Int32, Single, Single) |
Saves PDF pages in one multipage tiff file.
| |
SavePdfPagesAsMultiPageTiff(Byte, String, Int32, Int32, Int32, Single, Single, PdfPrintColorType) |
Saves PDF pages in one multipage tiff file.
| |
SavePdfPagesAsMultiPageTiff(String, String, Int32, Int32, Int32, Single, Single, PdfPrintColorType) |
Saves PDF pages in one multipage tiff file.
| |
SavePdfPagesAsMultiPageTiff(Byte, String, Int32, Int32, Int32, Single, Single, PdfPrintColorType, String) |
Saves PDF pages in one multipage tiff file.
| |
SavePdfPagesAsMultiPageTiff(String, String, Int32, Int32, Int32, Single, Single, PdfPrintColorType, String) |
Saves PDF pages in one multipage tiff file.
| |
SavePdfPagesAsMultiPageTiff(Byte, String, Int32, Int32, Int32, Single, Single, PdfPrintColorType, String, PdfPrintTiffCompression) |
Saves PDF pages in one multipage tiff file.
| |
SavePdfPagesAsMultiPageTiff(String, String, Int32, Int32, Int32, Single, Single, PdfPrintColorType, String, PdfPrintTiffCompression) |
Saves PDF pages in one multipage tiff file.
| |
SavePdfPagesAsMultiPageTiff(Byte, String, Int32, Int32, Int32, Single, Single, PdfPrintColorType, String, PdfPrintTiffCompression, PdfPrintColorBitsType) |
Saves PDF pages in one multipage tiff file.
| |
SavePdfPagesAsMultiPageTiff(String, String, Int32, Int32, Int32, Single, Single, PdfPrintColorType, String, PdfPrintTiffCompression, PdfPrintColorBitsType) |
Saves PDF pages in one multipage tiff file.
| |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
AllowCustomSize |
Used only in combination with PageAutoSize = true.
If the PDF page size isn't found in the list of available printer paper sizes, it will try to set the custom paper size.
Most virtual PDF printers support the custom paper size, and most physical printers don't.
The default value is false.
| |
CheckPrinterExistence |
If set to false, it will not check for printer name existence if the non-default printer is used.
This is useful in a situation where checking of the printer existence is slow due to many printers or some network printer.
Default value is true.
| |
Collate |
If set to true, it will collate the pages.
If set to false, it will not collate the pages.
If not set, it will use the printer default settings.
| |
Copies |
Set the number of copies to be printed.
If not selected, it will use the printer default settings.
| |
CustomScale |
If set, it will scale the page according to the specified value.
To be used, Scale must be set to CustomScale.
Default value is 100%.
| |
DuplexType |
Duplex type used in printing.
If not set, it will use the printer default settings.
| |
InverseForm |
It forces content of AdobeForm to be rendered before the page.
Needed in some rare cases.
It doesn't have effect in PrintWithAdobe method.
Default is false.
| |
IsAutoRotate |
If set to true, it will override selected value for IsLandscape and it will set orientation to landscape or portrait based on the content width / height.
It not set it, selected value for IsLandscape will be used.
It doesn't have effect in PrintWithAdobe method.
| |
IsContentCentered |
If set to true, it will center content in standard Print method. It doesn't have effect in PrintWithAdobe method.
Default value is True.
| |
IsLandscape |
If set to true, it will print as landscape if IsAutoRotate = false.
If set to false, it will print as portrait if IsAutoRotate = false.
It not set, it will use the printer default settings.
| |
Margins |
If set, it will apply the margins. Units are 1/100 inch (i.e. 100 = 1 inch).
Setting Scale influences the print result.
When set to None, the margins are adjusted (if needed) to preserve the actual size of the print content.
And when content is smaller, existing whitespace is considered as part of margin space.
For all other values, the print content size is adjusted (if needed) to preserve the specified margins.
Default value is (0,0,0,0).
| |
PageAutoSize |
If set to true, automatically sets printer paper size according to page size of each page in the PDF. Size will be set if printer supports that paper size.
If successful, it will override PaperSize property.
Default value is false. It doesnt't have effect in PrintWithAdobe.
See also: AllowCustomSize | |
Pages |
Defines the pages that are to be printed.
If not set, it wil print all pages.
If PrintWithAdobe method is used, Pages can't have more than one interval defined.
| |
PaperSize |
What type of paper size to use?
If not set, it will use the printer default settings.
See also: PageAutoSize | |
PaperSource |
Paper source used for printing.
If not set, it will use the printer default settings.
| |
PaperSourceTrayInfo |
List of paper source tray names and supported page sizes for that tray.
It must be manully set.
It is used in combination when PageAutoSize doesn't work on its own.
It is ignored if PageAutoSize = false.
| |
PrinterName |
Name of the printer used for printing.
If not set, it will use the default printer.
| |
PrinterResolution |
Printer resolution used for printing.
If not set, it will use the printer default settings.
| |
PrintInColor |
It set to true, it will print in color.
If set to false, it will print as grayscale.
If not set, it will use the printer default settings.
| |
RangeType |
Range type.
It not set, it will print both even and odd pages in the selected range interval.
| |
Rotation | ||
Scale |
If set, it will scale the page according to the chosen scale type.
If not set, it will use the Shrink scaling type.
If PrintWithAdobe method both Shrink and FitToMargins behaves like Shrink.
| |
SettingDialog |
Use the printer settings dialog.
If not set, it will not use the printer settings dialog.
| |
UseOldPrintingSystem |
This uses .NET built-in printing API. It is (much) slower for some printers, but for some printers this is the only way it will work.
Default value is false.
| |
Watermark |
Watermark to be printed (it can be Image or Text).
|
Events
Name | Description | |
---|---|---|
DocumentPrintBegin |
Occurs when document print begins.
| |
DocumentPrintEnd |
Occurs when document print ends.
| |
DocumentPrintPageBegin |
Occurs when document print page begins.
| |
DocumentPrintPageEnd |
Occurs when document print page ends.
| |
MultiDocumentPageSettingsQuery |
Occurs on multi document page settings query
| |
MultiDocumentPrintBegin |
Occurs when multi document print begins.
| |
MultiDocumentPrintEnd |
Occurs when multi document print ends.
| |
MultiDocumentPrintPageBegin |
Occurs when multi document print page begins.
| |
MultiDocumentPrintPageEnd |
Occurs when multi document print page ends.
| |
PageSettingsQuery |
Occurs on single page settings query
| |
SingleDocumentPrintBegin |
Occurs when single document print begins.
| |
SingleDocumentPrintEnd |
Occurs when single document print ends.
|
See Also