Saves pdf page as an image. 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 PdfPrintStatus SavePdfPageAsImage( PdfPrintDocument pdfDocument, Stream stream, PdfPrintImageSettings imageSettings )
Parameters
- pdfDocument
- Type: PdfPrintingNetPdfPrintDocument
PDF document - stream
- Type: System.IOStream
Memory stream to write to - exception thrown if null - imageSettings
- Type: PdfPrintingNetPdfPrintImageSettings
Image settings to use
Return Value
Type: PdfPrintStatusStatus, if unexpected error returns exception.
See Also