PdfPrint.SavePdfPagesAsImages Method (Byte[], String, Int32, Int32, Int32, Single, Single, PdfPrint.ColorType, Int64, String)Terminal Works - PDF Printing.Net Library
Saves multiple pdf pages as images. Supported image types are BMP, TIF/TIFF, GIF, JPG/JPEG and PNG.

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

public PdfPrint. Status SavePdfPagesAsImages(
	byte[] pdfArray,
	string outputFileName,
	int fromPage,
	int toPage,
	int zoomFactor,
	float xResolution,
	float yResolution,
	PdfPrint. ColorType colorType,
	long quality,
	string password
)

Parameters

pdfArray
Type:System.Byte[]
PDF content
outputFileName
Type: System.String
Image output file name
fromPage
Type: System.Int32
From PDF page.
toPage
Type: System.Int32
To PDF page.
zoomFactor
Type: System.Int32
Zoom factor. Valid values from 1 to 10. Value 5 is the closest one to original PDF page size.
xResolution
Type: System.Single
X Resolution of the output image.
yResolution
Type: System.Single
Y resolution of the output image.
colorType
Type: PdfPrintingNet.PdfPrint.ColorType
Color type - BW, Gray, Color, Same as in the PDF
quality
Type: System.Int64
Image quality in % (between 0 and 100)
password
Type: System.String
PDF Password - if pdf file is password protected.

Return Value

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

Reference