PdfPrintSavePdfPagesAsMultiPageTiff Method (String, String, Int32, Int32, Int32, Single, Single, PdfPrintColorType, String, PdfPrintTiffCompression, PdfPrintColorBitsType)Terminal Works - PDF Printing.Net Library
Saves PDF pages in one multipage tiff file.

Namespace: PdfPrintingNet
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.1.1.0 (5.1.1.0)
Syntax

public PdfPrintStatus SavePdfPagesAsMultiPageTiff(
	string fileName,
	string outputFileName,
	int fromPage,
	int toPage,
	int zoomFactor,
	float xResolution,
	float yResolution,
	PdfPrintColorType colorType,
	string password,
	PdfPrintTiffCompression tiffCompression,
	PdfPrintColorBitsType colorBits
)

Parameters

fileName
Type: SystemString
PDF file name
outputFileName
Type: SystemString
Image output file name
fromPage
Type: SystemInt32
From PDF page.
toPage
Type: SystemInt32
To PDF page.
zoomFactor
Type: SystemInt32
Zoom factor. Valid values from 1 to 10. Value 5 is the closest one to original PDF page size.
xResolution
Type: SystemSingle
X Resolution of the output image.
yResolution
Type: SystemSingle
Y resolution of the output image.
colorType
Type: PdfPrintingNetPdfPrintColorType
Color type - BW, Gray, Color, Same as in the PDF
password
Type: SystemString
PDF Password - if pdf file is password protected.
tiffCompression
Type: PdfPrintingNetPdfPrintTiffCompression
TiffCompression - Compression used in Tiff image.
colorBits
Type: PdfPrintingNetPdfPrintColorBitsType
24 or 32 bits per pixel for the image in color.Ignored if a selected color type is BW or Gray.The default is 32 bits.

Return Value

Type: PdfPrintStatus
Status - in case of an unexpected error it throws an exception.
See Also

Reference